diff options
author | Jan Wagner <waja@cyconet.org> | 2016-11-21 15:35:41 +0100 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2016-11-21 15:58:45 +0100 |
commit | 39fdd0fc49f87f542c1a75324ef1d335234b3bcb (patch) | |
tree | 6ebf808ae6c5fac382ce9fa574a1131feee978d9 | |
parent | fae05eb17809e31ddb167e2358686d80b0997eff (diff) | |
download | monitoring-plugins-39fdd0fc49f87f542c1a75324ef1d335234b3bcb.tar.gz |
travis-ci: Implement a matrix
See https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix
-rw-r--r-- | .travis.yml | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml index fb8fbe7f..33211652 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -2,6 +2,28 @@ sudo: required | |||
2 | dist: trusty | 2 | dist: trusty |
3 | language: c | 3 | language: c |
4 | 4 | ||
5 | env: | ||
6 | global: | ||
7 | # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis | ||
8 | # encrypt" command using the project repository's public key. | ||
9 | - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo=" | ||
10 | |||
11 | matrix: | ||
12 | include: | ||
13 | - compiler: "gcc" | ||
14 | os: linux | ||
15 | env: | ||
16 | - PLATFORM=linux BITS=64 HOST=x86_64 | ||
17 | addons: | ||
18 | coverity_scan: | ||
19 | project: | ||
20 | name: "monitoring-plugins/monitoring-plugins" | ||
21 | description: "Monitoring Plugins" | ||
22 | notification_email: team@monitoring-plugins.org | ||
23 | build_command_prepend: tools/setup && ./configure | ||
24 | build_command: make | ||
25 | branch_pattern: coverity.* | ||
26 | |||
5 | before_install: | 27 | before_install: |
6 | # Trusty related fixed | 28 | # Trusty related fixed |
7 | # multiverse is no on trusty activated (https://github.com/travis-ci/travis-ci/issues/4979) | 29 | # multiverse is no on trusty activated (https://github.com/travis-ci/travis-ci/issues/4979) |
@@ -60,18 +82,3 @@ notifications: | |||
60 | email: | 82 | email: |
61 | - team@monitoring-plugins.org | 83 | - team@monitoring-plugins.org |
62 | 84 | ||
63 | env: | ||
64 | global: | ||
65 | # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis | ||
66 | # encrypt" command using the project repository's public key. | ||
67 | - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo=" | ||
68 | |||
69 | addons: | ||
70 | coverity_scan: | ||
71 | project: | ||
72 | name: "monitoring-plugins/monitoring-plugins" | ||
73 | description: "Monitoring Plugins" | ||
74 | notification_email: team@monitoring-plugins.org | ||
75 | build_command_prepend: tools/setup && ./configure | ||
76 | build_command: make | ||
77 | branch_pattern: coverity.* | ||