diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2017-01-13 21:10:48 +0300 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2017-01-24 23:12:34 +0300 |
| commit | c50fb83f038a6e06afdf6b2dfc6868b364fb0511 (patch) | |
| tree | 4dd215c990705114732c2de3dcd95c0875169e4f /.travis.yml | |
| parent | d1ad2daa7e195c82e3e5423e31af90fb01f7307d (diff) | |
| download | libatomic_ops-draft-coveralls-linux.tar.gz | |
DRAFT #20 - enable coveralls (linux/gcc)draft-coveralls-linux
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 |
