Code

store_json: Base the memstore emitter on the store-writer API.
[sysdb.git] / .travis.yml
index f0a3403e855b8c4b7c03236eb6bae17310d63946..8c6008096bd49f9425f17ee70a43ca92b765966c 100644 (file)
@@ -1,18 +1,26 @@
 language: c
+env:
+  - CIOPTIONS="--with-readline=libedit"
+  - CIOPTIONS="--with-readline=libreadline"
+  - CICFLAGS="-fsanitize=address -fno-omit-frame-pointer" CILDFLAGS="-fsanitize=address"
 compiler:
   - clang
   - gcc
 before_install:
   - sudo apt-get update -qq
 install:
-  - sudo apt-get install -qq check flex bison libtool
-  - sudo apt-get install -qq libdbi-dev libedit-dev libltdl-dev
-  - sudo pip install cpp-coveralls --use-mirrors
-before_script:
-  - ./autogen.sh
-script: ./configure --enable-gcov CFLAGS="-O0 -Wno-sign-conversion" && make && make test
+  - sudo apt-get install -qq check flex bison libtool libltdl-dev
+  - sudo apt-get install -qq libdbi-dev libedit-dev libreadline-dev
+  - 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"