cleanup: cf_util_get* instead of local copy in plugins, prefixed error reporting
[collectd.git] / .travis.yml
1 env:
2   global:
3    # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
4    # via the "travis encrypt" command using the project repo's public key
5    - secure: "ZdWWp0XX3C4sLIp4lqeQTWC7vt+GsWjmyRiD17T9833NBAW4dddz310I6iyeXe6oX09ZFFiVIN4ogx9ANcNBx9jriGXI2/82nBhpxOJBebet8JCNS5VeTr4rDSfQOKP+Oc+ko5KbbghTuAtO2CFYiH3jZUcn4TdsYbVanf+TwUs="
6
7 sudo: required
8 dist: trusty
9 compiler:
10   - gcc
11   - clang
12 language: c
13 before_install:
14   # When building the coverity_scan branch, allow only the first job to continue to avoid travis-ci/travis-ci#1975.
15   - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" && ! "${TRAVIS_JOB_NUMBER}" =~ \.1$ ]]; then exit 0; fi
16   - sudo apt-get update -qq
17   - sudo apt-get install -qq --no-install-recommends
18       autotools-dev
19       iptables-dev
20       libatasmart-dev
21       libcap-dev
22       libcurl4-gnutls-dev
23       libdbi0-dev
24       libesmtp-dev
25       libganglia1-dev
26       libgcrypt11-dev
27       libglib2.0-dev
28       libgps-dev
29       libhiredis-dev
30       libi2c-dev
31       libldap2-dev
32       libltdl-dev
33       liblua50-dev
34       liblua5.1-0-dev
35       liblua5.2-dev
36       liblvm2-dev
37       libmemcached-dev
38       libmicrohttpd-dev
39       libmnl-dev
40       libmodbus-dev
41       libmosquitto0-dev
42       libmysqlclient-dev
43       libnotify-dev
44       libopenipmi-dev
45       liboping-dev
46       libow-dev
47       libpcap-dev
48       libperl-dev
49       libpq-dev
50       libprotobuf-c0-dev
51       librabbitmq-dev
52       librdkafka-dev
53       libriemann-client-dev
54       librrd-dev
55       libsensors4-dev
56       libsigrok-dev
57       libsnmp-dev
58       libstatgrab-dev
59       libtokyocabinet-dev
60       libtokyotyrant-dev
61       libudev-dev
62       libupsclient-dev
63       libvarnish-dev
64       libvirt-dev
65       libxen-dev
66       libxml2-dev
67       libyajl-dev
68       linux-libc-dev
69       perl
70       protobuf-c-compiler
71       python3-dev
72       python-dev
73       xfslibs-dev
74 before_script: autoreconf -fi
75 script:
76   - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" ]]; then exit 0; fi
77   - ./configure
78   - make -j 4
79   - make check
80
81 addons:
82   coverity_scan:
83     project:
84       name: "collectd/collectd"
85       description: "Build submitted via Travis CI"
86     notification_email: collectd-changes@verplant.org
87     build_command_prepend: "./configure; make clean"
88     build_command: "make -j 4"
89     branch_pattern: coverity_scan