Code

Fix detection of libyajl and fix compilation if it's missing.
[sysdb.git] / .travis.yml
index d3bfbe959e61494ada6cb5ff156e2c64065ac54a..8c6008096bd49f9425f17ee70a43ca92b765966c 100644 (file)
@@ -2,6 +2,7 @@ language: c
 env:
   - CIOPTIONS="--with-readline=libedit"
   - CIOPTIONS="--with-readline=libreadline"
+  - CICFLAGS="-fsanitize=address -fno-omit-frame-pointer" CILDFLAGS="-fsanitize=address"
 compiler:
   - clang
   - gcc
@@ -10,10 +11,16 @@ before_install:
 install:
   - sudo apt-get install -qq check flex bison libtool libltdl-dev
   - sudo apt-get install -qq libdbi-dev libedit-dev libreadline-dev
-  - sudo pip install cpp-coveralls --use-mirrors
+  - sudo apt-get install -qq valgrind
+  - sudo pip install cpp-coveralls
+  - pip show cpp-coveralls
 script: ./t/cibuild.sh
 after_success:
-  - coveralls --exclude t --verbose
+  - test "${CC}x" != "gccx" || coveralls --build-root src --exclude t -E '.*\.[yl]'
 branches:
   only:
     - master
+matrix:
+  exclude:
+    - compiler: gcc
+      env: CICFLAGS="-fsanitize=address -fno-omit-frame-pointer" CILDFLAGS="-fsanitize=address"