1 # Travis CI configuration file
2 # https://travis-ci.org/collectd/collectd
5 # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
6 # via the "travis encrypt" command using the project repo's public key
7 - secure: "ZdWWp0XX3C4sLIp4lqeQTWC7vt+GsWjmyRiD17T9833NBAW4dddz310I6iyeXe6oX09ZFFiVIN4ogx9ANcNBx9jriGXI2/82nBhpxOJBebet8JCNS5VeTr4rDSfQOKP+Oc+ko5KbbghTuAtO2CFYiH3jZUcn4TdsYbVanf+TwUs="
19 # When building the coverity_scan branch, allow only the first job to continue to avoid travis-ci/travis-ci#1975.
20 - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" && ! "${TRAVIS_JOB_NUMBER}" =~ \.1$ ]]; then exit 0; fi
21 - if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
22 sudo apt-get update -qq &&
23 sudo apt-get install -qq --no-install-recommends
82 # libgcrypt, libpq & libxml2 are already installed & can't be listed again.
83 # ganglia has a file conflict with coreutils.
84 - if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
115 before_script: autoreconf -fi
117 - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" ]]; then exit 0; fi
125 name: "collectd/collectd"
126 description: "Build submitted via Travis CI"
127 notification_email: collectd-changes@verplant.org
128 build_command_prepend: "./configure; make clean"
129 build_command: "make -j $(nproc)"
130 branch_pattern: coverity_scan