Code

parser: Let the TIMESERIES command accept optional data-source names.
[sysdb.git] / .travis.yml
index 06956845d15220e2b24a5f0655116b8c269dc812..2efb815ca0bf4188e28bf3e754590619aecf324f 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 CFLAGS="-O0 --coverage --no-inline -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 libyajl-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"