diff options
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d73d5e89 --- /dev/null +++ b/.travis.yml | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | language: c | ||
| 2 | |||
| 3 | before_install: | ||
| 4 | - sudo apt-get update -qq | ||
| 5 | - sudo apt-get purge -qq gawk | ||
| 6 | |||
| 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 mawk | ||
| 9 | - sudo apt-get install -qq --no-install-recommends autoconf automake | ||
| 10 | |||
| 11 | before_script: | ||
| 12 | - tools/setup | ||
| 13 | - ./configure | ||
| 14 | |||
| 15 | script: | ||
| 16 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi | ||
| 17 | |||
| 18 | notifications: | ||
| 19 | irc: | ||
| 20 | channels: | ||
| 21 | - "chat.freenode.net#Monitoring-Plugins" | ||
| 22 | on_success: change | ||
| 23 | on_failure: always | ||
| 24 | skip_join: true | ||
| 25 | email: | ||
| 26 | - team@monitoring-plugins.org | ||
| 27 | |||
| 28 | env: | ||
| 29 | global: | ||
| 30 | # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis | ||
| 31 | # encrypt" command using the project repository's public key. | ||
| 32 | - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo=" | ||
| 33 | |||
| 34 | addons: | ||
| 35 | coverity_scan: | ||
| 36 | project: | ||
| 37 | name: "monitoring-plugins/monitoring-plugins" | ||
| 38 | description: "Monitoring Plugins" | ||
| 39 | notification_email: team@monitoring-plugins.org | ||
| 40 | build_command_prepend: tools/setup && ./configure | ||
| 41 | build_command: make | ||
| 42 | branch_pattern: coverity.* | ||
