summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2014-02-16 18:17:16 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-02-16 19:00:55 (GMT)
commit182430de46f84cda1c7c1097b60b0dcb074c9c3d (patch)
tree32d7ca1155b5099237cb2234f7f4feb3b9f33a9e /.travis.yml
parentb120c757133e20c9d657a0d8d9577eccd3363bf7 (diff)
downloadmonitoring-plugins-182430de46f84cda1c7c1097b60b0dcb074c9c3d.tar.gz
travis-ci: Add configuration for Coverity Scan
Run Coverity Scan builds on Travis CI, but only when pushing into the "coverity" branch.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 23 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c9ae80f..339648f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,7 @@ before_script:
12 - ./configure 12 - ./configure
13 13
14script: 14script:
15 - make 15 - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi
16 16
17compiler: 17compiler:
18 - clang 18 - clang
@@ -26,3 +26,25 @@ notifications:
26 on_failure: always 26 on_failure: always
27 skip_join: true 27 skip_join: true
28# email: false 28# email: false
29
30# Don't use Clang for Coverity Scan.
31matrix:
32 exclude:
33 - compiler: clang
34 - env: COVERITY_SCAN_BRANCH=1
35
36env:
37 global:
38 # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis
39 # encrypt" command using the project repository's public key.
40 - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo="
41
42addons:
43 coverity_scan:
44 project:
45 name: "monitoring-plugins/monitoring-plugins"
46 description: "Monitoring Plugins"
47 notification_email: team@monitoring-plugins.org
48 build_command_prepend: tools/setup && ./configure
49 build_command: make
50 branch_pattern: coverity