This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
/
.travis.yml
57 lines (51 loc) · 2.49 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
47
48
49
50
51
52
53
54
55
56
57
sudo: required
dist: trusty
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 libanyevent-perl liblwp-protocol-https-perl libxml2-dev libexpat-dev python-dev python2.7
- cpanm https://github.com/csirtgadgets/Net-Abuse-Utils/archive/master.tar.gz
- cpanm https://github.com/csirtgadgets/net-abuse-utils-spamhaus/archive/v0.08.tar.gz
- cpanm --wget --mirror https://cpan.metacpan.org [email protected]
- INLINE_PYTHON_EXECUTABLE=/usr/bin/python cpanm -v --notest --force --wget --mirror https://cpan.metacpan.org Inline::[email protected]
#- cpanm --wget --mirror https://cpan.metacpan.org Test::[email protected]
#- cpanm --wget --mirror https://cpan.metacpan.org Test2::[email protected]
- cpanm --wget --mirror https://cpan.metacpan.org Regexp::Common
- cpanm --wget --mirror https://cpan.metacpan.org [email protected]
- cpanm --wget --mirror https://cpan.metacpan.org Test::[email protected]
- cpanm --wget --mirror https://cpan.metacpan.org --force [email protected]
- cpanm --wget --mirror https://cpan.metacpan.org ZMQ::[email protected]
- cpanm --wget --mirror https://cpan.metacpan.org Log::[email protected]
- cpanm --wget --mirror https://cpan.metacpan.org Test::[email protected]
- cpanm --wget --mirror https://cpan.metacpan.org MaxMind::DB::[email protected]
- cpanm --wget --mirror https://cpan.metacpan.org [email protected]
- cpanm --wget --mirror https://cpan.metacpan.org [email protected]
- cpanm https://github.com/csirtgadgets/p5-cif-sdk/archive/2.00.tar.gz
- cpanm https://github.com/kraih/mojo/archive/v5.82.tar.gz
- cpanm http://cpan.metacpan.org/authors/id/D/DR/DRTECH/Search-Elasticsearch-1.19.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