summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2014-06-24 15:07:44 +0200
committerSven Nierlein <sven@nierlein.de>2014-06-24 15:07:44 +0200
commitb35d12e931c6d330291f5c5f4847c33a122c63cb (patch)
tree65a773b10464cf527a6402e207f92ac1118f2542 /.travis.yml
parent580bdd286379f6d8b678b9a7472572cfa2684aaf (diff)
downloadmonitoring-plugins-b35d12e931c6d330291f5c5f4847c33a122c63cb.tar.gz
tests: always build and test on travis
also make test is now working on travis-ci Signed-off-by: Sven Nierlein <sven@nierlein.de>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7a4c3c62..02fa084e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,14 +6,24 @@ before_install:
6 6
7install: 7install:
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 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 libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader
10 - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix
9 - sudo apt-get install -qq --no-install-recommends autoconf automake 11 - sudo apt-get install -qq --no-install-recommends autoconf automake
10 12
11before_script: 13before_script:
12 - tools/setup 14 - tools/setup
13 - ./configure 15 - ./configure
16 - make
17 - export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis"
18 - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa
19 - cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
20 - ssh-keyscan localhost >> ~/.ssh/known_hosts
21 - touch ~/.ssh/config
22 - 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
23 - sudo mkdir -p /var/lib/snmp/mib_indexes
14 24
15script: 25script:
16 - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi 26 - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi
17 27
18notifications: 28notifications:
19 irc: 29 irc: