diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 10d0628..3d43a0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,17 +2,31 @@ language: c os: - linux - - osx compiler: - - clang - gcc -sudo: false +sudo: required + +before_install: + - sudo apt-get install lcov + - gem install coveralls-lcov +# - sudo apt-get install libc6:i386 +# - sudo apt-get install libc6-dev-i386 install: - ./autogen.sh - - ./configure --enable-assertions --enable-werror + - ./configure --enable-assertions --enable-werror --enable-gcov script: - - make -j check + - make clean && make -j check CFLAGS_EXTRA="-march=native" +# - make -j check +# - make clean && make -j check CFLAGS_EXTRA="-march=native -DAO_DISABLE_GCC_ATOMICS" +# - make clean && make -j check CFLAGS_EXTRA="-march=native -m32" +# - make clean && make -j check CFLAGS_EXTRA="-march=native -m32 -DAO_DISABLE_GCC_ATOMICS" + +after_success: + - lcov --directory src --capture --output-file coverage.info + - lcov --remove coverage.info 'tests/*' --output-file coverage.info + - lcov --list coverage.info + - coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage.info |