language: c os: - linux compiler: - gcc 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 --enable-gcov script: - 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