diff options
-rw-r--r-- | .travis.yml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index c9ae80f9..339648f6 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -12,7 +12,7 @@ before_script: | |||
12 | - ./configure | 12 | - ./configure |
13 | 13 | ||
14 | script: | 14 | script: |
15 | - make | 15 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make; fi |
16 | 16 | ||
17 | compiler: | 17 | compiler: |
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. | ||
31 | matrix: | ||
32 | exclude: | ||
33 | - compiler: clang | ||
34 | - env: COVERITY_SCAN_BRANCH=1 | ||
35 | |||
36 | env: | ||
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 | |||
42 | addons: | ||
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 | ||