2015-02-03 08:22:10 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2016-09-18 21:38:11 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- liblua5.2-dev
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
before_install:
|
2017-01-23 17:42:45 +00:00
|
|
|
- scripts/install_deps.sh
|
|
|
|
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
2016-09-18 21:38:11 +00:00
|
|
|
|
2015-02-03 08:22:10 +00:00
|
|
|
script:
|
2017-01-23 17:44:06 +00:00
|
|
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then sh ./autogen.sh ; fi
|
2017-01-23 17:42:45 +00:00
|
|
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./configure ; fi
|
|
|
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make distcheck ; fi
|
2015-02-03 08:22:10 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#pkgconf"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2017-01-23 17:36:35 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
|
|
- secure: "blUnmLjOjZ1l9jSUff2gka+O6zI82wOMF/6zk6domstMjWbdRQFuEijkAngLyRYa/6uwbNQezqktJficEOvnU5kjq/IVUPkVTWR/nwhZdOpB4ksllpEWX6LH90HqxEaMqGZEaqPEG5uCYW+8pwTgWesPVzc0TF552WNoh4swAhs="
|
|
|
|
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "pkgconf/pkgconf"
|
|
|
|
description: "package compiler and linker metadata toolkit"
|
|
|
|
notification_email: nenolod@dereferenced.org
|
2017-01-23 17:44:06 +00:00
|
|
|
build_command_prepend: "sh autogen.sh; ./configure"
|
2017-01-23 17:36:35 +00:00
|
|
|
build_command: make
|
|
|
|
branch_pattern: coverity
|