forked from csirtgadgets/massive-octo-spice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 1.65 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: perl
perl:
- 5.18
env:
- VERSION="2.0"
- CPANM='cpanm --wget --mirror https://cpan.metacpan.org'
before_install:
- sudo apt-get install -qq python-software-properties
- echo "yes" | sudo add-apt-repository "ppa:chris-lea/zeromq"
- sudo apt-get update -qq
- perl -V
install:
- sudo apt-get install -y curl mailutils build-essential git-core automake cpanminus rng-tools openjdk-7-jre-headless libtool pkg-config vim htop bind9 libzmq3-dev libffi6 libmoose-perl libmouse-perl libanyevent-perl liblwp-protocol-https-perl libxml2-dev libexpat-dev python-dev
- cpanm --wget --mirror https://cpan.metacpan.org Regexp::Common
- cpanm --wget --mirror https://cpan.metacpan.org Mouse@2.4.1
- cpanm --wget --mirror https://cpan.metacpan.org ZMQ::FFI@0.17
- cpanm --wget --mirror https://cpan.metacpan.org Log::Log4perl@1.44
- cpanm --wget --mirror https://cpan.metacpan.org Test::Exception@0.32
- cpanm --wget --mirror https://cpan.metacpan.org MaxMind::DB::Reader@0.050005
- cpanm --wget --mirror https://cpan.metacpan.org GeoIP2@0.040005
- cpanm https://github.com/csirtgadgets/p5-cif-sdk/archive/master.tar.gz
- cpanm https://github.com/kraih/mojo/archive/v5.82.tar.gz
- sudo rm -f /dev/random
- sudo mknod -m 0666 /dev/random c 1 9
- echo HRNGDEVICE=/dev/urandom | sudo tee /etc/default/rng-tools
- sudo /etc/init.d/rng-tools restart
before_script:
- bash autogen.sh
script:
- ./configure && make
- time make deps NOTESTS=-n
- CI_BUILD=1 make test
notifications:
email:
on_success: never
on_failure: always
branches:
only:
- master
- staging