-
Marek Vavruša authored70520040
Forked from
Knot projects / Knot Resolver
8916 commits behind the upstream repository.
.travis.yml 804 B
language: c
os:
- linux
- osx
compiler:
- clang
notifications:
email:
on_success: change
on_failure: change
matrix:
fast_finish: true
allow_failures:
- os: osx
env:
global:
- PKG_CONFIG_PATH="${HOME}/.local/lib/pkgconfig"
- PATH="${HOME}/.local/bin:/usr/local/bin:${PATH}"
- CFLAGS="${CFLAGS} -O0 -g -DNDEBUG"
- LD_LIBRARY_PATH="${HOME}/.local/lib"
- DYLD_LIBRARY_PATH="${HOME}/.local/lib"
- MAKEOPTS="-j2"
before_script:
- ./scripts/bootstrap-depends.sh ${HOME}/.local
script:
- make ${MAKEOPTS} check COVERAGE=1
after_success:
- test $TRAVIS_OS_NAME = linux && coveralls -i lib -x ".c" --gcov-options '\-lp'
sudo: false
cache:
directories:
- ${HOME}/.local
- ${HOME}/.cache/pip