.travis.yml 852 Bytes
Newer Older
Marek Vavruša's avatar
Marek Vavruša committed
1
language: c
2 3 4
os:
    - linux
    - osx
Marek Vavruša's avatar
Marek Vavruša committed
5
compiler:
6
    - clang
7 8 9 10
notifications:
    email:
        on_success: change
        on_failure: change
11
    slack: cznic:xNJmvHU2xu2aGtN7Y2eqHKoD
12 13 14 15
matrix:
    fast_finish: true
    allow_failures:
        - os: osx
Marek Vavruša's avatar
Marek Vavruša committed
16 17
env:
    global:
18
        - PKG_CONFIG_PATH="${HOME}/.local/lib/pkgconfig"
19
        - PATH="${HOME}/.local/bin:/usr/local/bin:${PATH}"
20
        - CFLAGS="${CFLAGS} -O0 -g -fPIC -DNDEBUG"
21
        - LD_LIBRARY_PATH="${HOME}/.local/lib"
22
        - DYLD_LIBRARY_PATH="${HOME}/.local/lib"
23
        - MAKEOPTS="-j2"
Marek Vavruša's avatar
Marek Vavruša committed
24
before_script:
25
    - ./scripts/bootstrap-depends.sh ${HOME}/.local
Marek Vavruša's avatar
Marek Vavruša committed
26
script:
27 28
    - make ${MAKEOPTS} check COVERAGE=1
after_success:
29
    - test $TRAVIS_OS_NAME = linux && coveralls -i lib -x ".c" --gcov-options '\-lp'
Marek Vavruša's avatar
Marek Vavruša committed
30 31 32
sudo: false
cache:
    directories:
33
    - ${HOME}/.local
34
    - ${HOME}/.cache/pip