diff options
author | Sven Nierlein <sven@nierlein.org> | 2014-06-24 15:08:41 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2014-06-24 15:08:41 +0200 |
commit | 7508da9360a77c6799e74a8109b768a1b8fbba11 (patch) | |
tree | 65a773b10464cf527a6402e207f92ac1118f2542 /.travis.yml | |
parent | 580bdd286379f6d8b678b9a7472572cfa2684aaf (diff) | |
parent | b35d12e931c6d330291f5c5f4847c33a122c63cb (diff) | |
download | monitoring-plugins-7508da9360a77c6799e74a8109b768a1b8fbba11.tar.gz |
Merge pull request #1261 from sni/master
tests: always build and test on travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
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 | ||
7 | install: | 7 | install: |
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 | ||
11 | before_script: | 13 | before_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 | ||
15 | script: | 25 | script: |
16 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi | 26 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi |
17 | 27 | ||
18 | notifications: | 28 | notifications: |
19 | irc: | 29 | irc: |