travis-ci: Enable email notifications
[monitoring-plugins.git] / .travis.yml
blob4765612793e3bf041a271a7d4a8450b2833f1ade
1 language: c
3 before_install:
4     - sudo apt-get update -qq
6 install:
7     - 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
8     - sudo apt-get install -qq --no-install-recommends autoconf automake
10 before_script:
11     - tools/setup
12     - ./configure
14 script:
15     - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi
17 compiler:
18     - clang
19     - gcc
21 notifications:
22   irc:
23     channels:
24       - "chat.freenode.net#Monitoring-Plugins"
25     on_success: change
26     on_failure: always
27     skip_join: true
28   email:
29     - team@monitoring-plugins.org
31 # Don't use Clang for Coverity Scan.
32 matrix:
33   exclude:
34     - compiler: clang
35     - env: COVERITY_SCAN_BRANCH=1
37 env:
38   global:
39     # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis
40     # encrypt" command using the project repository's public key.
41     - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo="
43 addons:
44   coverity_scan:
45     project:
46       name: "monitoring-plugins/monitoring-plugins"
47       description: "Monitoring Plugins"
48     notification_email: team@monitoring-plugins.org
49     build_command_prepend: tools/setup && ./configure
50     build_command: make
51     branch_pattern: coverity