Debian Codegraph @

madrisan-nagios-plugins-linux/nagios-plugins-linux/.travis.yml

raw symbols SCIP
1 language: c
2 compiler:
3 - gcc
4 - clang
5
6 env:
7 global:
8 # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
9 # via the "travis encrypt" command using the project repo's public key
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 # Coverity Scan should only run once and it might fail,
19 # because the number of times its runs is limited per week.
20 # We only check when compiled with gcc.
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 # Commands to prepare for build_command
30 build_command_prepend: "autoreconf -f -v -Wall -i -Im4 && ./configure"
31 # This command will be added as an argument to "cov-build" to compile
32 # the project for analisys
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