diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2020-03-06 18:14:41 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2020-03-06 19:25:54 +0200 |
commit | 33f2de45e70aea9fab7974e17231f14f72774bcd (patch) | |
tree | 6d49656905629301ff93029c3ad0a652d9079e68 /.travis.yml | |
parent | 3db65bc21893bf1d3e1edf5610419f9ec4304c33 (diff) | |
download | tor-33f2de45e70aea9fab7974e17231f14f72774bcd.tar.gz tor-33f2de45e70aea9fab7974e17231f14f72774bcd.zip |
Try running some CI jobs with ALL_BUGS_ARE_FATAL
Build Tor with ALL_BUGS_ARE_FATAL macro and run:
* make check
* make test-stem
* make test-network
These jobs are allowed to fail at this point.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 16d2e432df..13d4d9d105 100644 --- a/.travis.yml +++ b/.travis.yml @@ -93,6 +93,10 @@ matrix: # compiler: clang # os: osx + - env: ALL_BUGS_ARE_FATAL="yes" + - env: ALL_BUGS_ARE_FATAL="yes" SKIP_MAKE_CHECK="yes" CHUTNEY="yes" + - env: ALL_BUGS_ARE_FATAL="yes" SKIP_MAKE_CHECK="yes" TEST_STEM="yes" + ## Allow the build to report success (with non-required sub-builds ## continuing to run) if all required sub-builds have succeeded. fast_finish: true @@ -114,6 +118,7 @@ matrix: ## chutney tests #- env: CHUTNEY_MAKE="test-network-ipv6" CHUTNEY="yes" CHUTNEY_ALLOW_FAILURES="2" SKIP_MAKE_CHECK="yes" # os: osx + - env: ALL_BUGS_ARE_FATAL="yes" ## (Linux only) Use a recent Linux image (Ubuntu Bionic) dist: bionic @@ -241,7 +246,8 @@ script: - ./autogen.sh - CONFIGURE_FLAGS="$ASCIIDOC_OPTIONS $COVERAGE_OPTIONS $HARDENING_OPTIONS $MODULES_OPTIONS $NSS_OPTIONS $OPENSSL_OPTIONS $RUST_OPTIONS --enable-fatal-warnings --disable-silent-rules" - echo "Configure flags are $CONFIGURE_FLAGS CC=\"$CC $C_DIALECT_OPTIONS\"" - - ./configure $CONFIGURE_FLAGS CC="$CC $C_DIALECT_OPTIONS" + - if [[ "$ALL_BUGS_ARE_FATAL" == "" ]]; then ./configure $CONFIGURE_FLAGS CC="$CC $C_DIALECT_OPTIONS"; fi + - if [[ "$ALL_BUGS_ARE_FATAL" != "" ]]; then ./configure CFLAGS="-DALL_BUGS_ARE_FATAL" $CONFIGURE_FLAGS CC="$CC $C_DIALECT_OPTIONS"; fi ## We run `make check` because that's what https://jenkins.torproject.org does. - if [[ "$SKIP_MAKE_CHECK" == "" ]]; then make check; fi - if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_FLAGS"; fi |