pkgconf/.travis.yml

45 lines
1.3 KiB
YAML

language: c
compiler:
- clang
- gcc
sudo: required
before_install:
- 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-
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then sh ./autogen.sh ; fi
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./configure ; fi
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then tests/parser escaped_backslash ; fi
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make distcheck ; fi
notifications:
email: false
irc:
channels:
- "irc.freenode.org#pkgconf"
on_success: change
on_failure: always
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:
apt:
packages:
- liblua5.2-dev
coverity_scan:
project:
name: "pkgconf/pkgconf"
description: "package compiler and linker metadata toolkit"
notification_email: nenolod@dereferenced.org
build_command_prepend: "sh autogen.sh; ./configure"
build_command: make
branch_pattern: coverity