blob: 205fa837b381ee41af4205aa1c6662bb7d14a02d [file] [log] [blame]
Lev Walkin5809ec62014-09-07 09:39:39 -07001language: c
2compiler:
3 - gcc
4 - clang
Vasil Velichkov3d3af672017-10-19 03:46:03 +03005env:
Lev Walkinc5476612017-10-19 03:36:09 -07006 - TASK=check CONFIG_FLAGS="--enable-Werror --enable-test-Werror --enable-code-coverage"
Lev Walkin1d2a6e82017-10-19 03:45:21 -07007 - TASK=distcheck
Vasil Velichkov9e935ae2016-07-18 22:50:05 +03008before_install:
Vasil Velichkov6cec1af2017-10-10 22:48:38 +03009 - sudo apt-get install -y gcc-multilib lcov libasan*
Vasil Velichkov9e935ae2016-07-18 22:50:05 +030010 - gem install coveralls-lcov
Lev Walkinef726502017-07-05 16:34:13 -070011script:
Vasil Velichkov3d3af672017-10-19 03:46:03 +030012 - autoreconf -iv
13 - ./configure $CONFIG_FLAGS
14 - make $TASK
Vasil Velichkov9e935ae2016-07-18 22:50:05 +030015after_success:
Lev Walkin0eca8c32017-03-26 23:06:42 -070016 - test "x$CC" = "xgcc" -o "x$CC" = "xclang" && make code-coverage-capture && coveralls-lcov asn1c-*-coverage.info
Vasil Velichkovd06dc092017-10-10 07:40:32 +030017after_failure:
Vasil Velichkov3d3af672017-10-19 03:46:03 +030018 - find . -name test-suite.log -exec tail -v -n +1 {} +