Code

2efb815ca0bf4188e28bf3e754590619aecf324f
[sysdb.git] / .travis.yml
1 language: c
2 env:
3   - CIOPTIONS="--with-readline=libedit"
4   - CIOPTIONS="--with-readline=libreadline"
5   - CICFLAGS="-fsanitize=address -fno-omit-frame-pointer" CILDFLAGS="-fsanitize=address"
6 compiler:
7   - clang
8   - gcc
9 before_install:
10   - sudo apt-get update -qq
11 install:
12   - sudo apt-get install -qq check flex bison libtool libltdl-dev
13   - sudo apt-get install -qq libdbi-dev libedit-dev libreadline-dev libyajl-dev
14   - sudo apt-get install -qq valgrind
15   - sudo pip install cpp-coveralls
16   - pip show cpp-coveralls
17 script: ./t/cibuild.sh
18 after_success:
19   - test "${CC}x" != "gccx" || coveralls --build-root src --exclude t -E '.*\.[yl]'
20 branches:
21   only:
22     - master
23 matrix:
24   exclude:
25     - compiler: gcc
26       env: CICFLAGS="-fsanitize=address -fno-omit-frame-pointer" CILDFLAGS="-fsanitize=address"