Commit 3d3af67a authored by Vasil Velichkov's avatar Vasil Velichkov Committed by Lev Walkin

Run check and distcheck in separate travis builds

parent 51612b23
......@@ -2,15 +2,16 @@ language: c
compiler:
- gcc
- clang
env:
- TASK=check CONFIG_FLAGS="--enable-Werror --enable-test-Werror --enable-code-coverage"
- TASK=distcheck CONFIG_FLAGS="--enable-Werror --enable-test-Werror" DISTCHECK_CONFIGURE_FLAGS=$CONFIG_FLAGS
before_install:
- sudo apt-get install -y gcc-multilib lcov libasan*
- gem install coveralls-lcov
script:
- autoreconf -iv
- ./configure --enable-Werror --enable-code-coverage
- make -j8
- make check
- make distcheck
- ./configure $CONFIG_FLAGS
- make $TASK
after_success:
- test "x$CC" = "xgcc" -o "x$CC" = "xclang" && make code-coverage-capture && coveralls-lcov asn1c-*-coverage.info
after_failure:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment