summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 7a4c3c6..cec7878 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,19 +1,30 @@
1language: c 1language: c
2 2
3before_install: 3before_install:
4 - sudo add-apt-repository -y ppa:waja/precise-backports
4 - sudo apt-get update -qq 5 - sudo apt-get update -qq
5 - sudo apt-get purge -qq gawk 6 - sudo apt-get purge -qq gawk
6 7
7install: 8install:
8 - sudo apt-get install -qq --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libradiusclient-ng-dev libkrb5-dev libnet-snmp-perl procps 9 - sudo apt-get install -qq --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libfreeradius-client-dev libkrb5-dev libnet-snmp-perl procps
10 - sudo apt-get install -qq --no-install-recommends libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader
11 - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix libhttp-daemon-ssl-perl
9 - sudo apt-get install -qq --no-install-recommends autoconf automake 12 - sudo apt-get install -qq --no-install-recommends autoconf automake
10 13
11before_script: 14before_script:
12 - tools/setup 15 - tools/setup
13 - ./configure 16 - ./configure
17 - make
18 - export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis"
19 - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa
20 - cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
21 - ssh-keyscan localhost >> ~/.ssh/known_hosts
22 - touch ~/.ssh/config
23 - sudo rm -f /usr/share/mibs/ietf/SNMPv2-PDU /usr/share/mibs/ietf/IPSEC-SPD-MIB /usr/share/mibs/ietf/IPATM-IPMC-MIB /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
24 - sudo mkdir -p /var/lib/snmp/mib_indexes
14 25
15script: 26script:
16 - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi 27 - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi
17 28
18notifications: 29notifications:
19 irc: 30 irc: