| 1 |
language: c |
| 2 |
compiler: |
| 3 |
- gcc |
| 4 |
- clang |
| 5 |
|
| 6 |
env: |
| 7 |
global: |
| 8 |
|
| 9 |
|
| 10 |
- secure: "WqpTr19IWav//MQEQ7RcerdTVhbYt9faBh2QoEZmRLDPm+0RBidw1kvP73Di9pozURqisdB1P5LJ5eVFuocaD2eM+pO4399hHD48QsupDoLxgcJfmeP5YfT7Kmq97vyOs5dV01uopRMTJ9SDD1rt2oia+Ez6B/AeTCEpENb/76Y=" |
| 11 |
|
| 12 |
sudo: false |
| 13 |
|
| 14 |
matrix: |
| 15 |
exclude: |
| 16 |
- compiler: clang |
| 17 |
env: COVERITY_SCAN_BRANCH=1 |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
allow_failures: |
| 22 |
- env: COVERITY_SCAN_BRANCH=1 |
| 23 |
|
| 24 |
addons: |
| 25 |
coverity_scan: |
| 26 |
project: |
| 27 |
name: "madrisan/nagios-plugins-linux" |
| 28 |
notification_email: [email protected] |
| 29 |
|
| 30 |
build_command_prepend: "autoreconf -f -v -Wall -i -Im4 && ./configure" |
| 31 |
|
| 32 |
|
| 33 |
build_command: "make clean all" |
| 34 |
branch_pattern: coverity_scan |
| 35 |
|
| 36 |
script: |
| 37 |
- | |
| 38 |
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then |
| 39 |
[ -f ./Makefile ] || autoreconf -f -v -Wall -i -Im4 && ./configure |
| 40 |
make clean all |
| 41 |
VERBOSE=1 make check |
| 42 |
fi |