diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2275be3f..00000000 --- a/.travis.yml +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | language: c | ||
2 | |||
3 | before_install: | ||
4 | - sudo add-apt-repository -y ppa:waja/precise-backports | ||
5 | - sudo apt-get update -qq | ||
6 | - sudo apt-get purge -qq gawk | ||
7 | # ensure we have a test database in place for tests | ||
8 | - mysql -e "create database IF NOT EXISTS test;" -uroot | ||
9 | |||
10 | install: | ||
11 | - 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 | ||
12 | - sudo apt-get install -qq --no-install-recommends libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader | ||
13 | - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix libhttp-daemon-ssl-perl | ||
14 | - sudo apt-get install -qq --no-install-recommends autoconf automake | ||
15 | |||
16 | before_script: | ||
17 | - tools/setup | ||
18 | - ./configure | ||
19 | - make | ||
20 | - export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis" | ||
21 | - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa | ||
22 | - cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys | ||
23 | - ssh-keyscan localhost >> ~/.ssh/known_hosts | ||
24 | - touch ~/.ssh/config | ||
25 | - 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 | ||
26 | - sudo mkdir -p /var/lib/snmp/mib_indexes | ||
27 | |||
28 | script: | ||
29 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi | ||
30 | |||
31 | notifications: | ||
32 | irc: | ||
33 | channels: | ||
34 | - "chat.freenode.net#Monitoring-Plugins" | ||
35 | on_success: change | ||
36 | on_failure: always | ||
37 | skip_join: true | ||
38 | email: | ||
39 | - team@monitoring-plugins.org | ||
40 | |||
41 | env: | ||
42 | global: | ||
43 | # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis | ||
44 | # encrypt" command using the project repository's public key. | ||
45 | - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo=" | ||
46 | |||
47 | addons: | ||
48 | coverity_scan: | ||
49 | project: | ||
50 | name: "monitoring-plugins/monitoring-plugins" | ||
51 | description: "Monitoring Plugins" | ||
52 | notification_email: team@monitoring-plugins.org | ||
53 | build_command_prepend: tools/setup && ./configure | ||
54 | build_command: make | ||
55 | branch_pattern: coverity.* | ||