diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-18 14:24:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-18 17:33:19 -0400 |
commit | 61251337153448afa1cc2baae252c3f0d6353162 (patch) | |
tree | 99ca03ec983dbba4c454e70138b717df5749985c /.travis.yml | |
parent | d3ff1263092d9ca205b5b54b77db31633bcd80b4 (diff) | |
download | tor-61251337153448afa1cc2baae252c3f0d6353162.tar.gz tor-61251337153448afa1cc2baae252c3f0d6353162.zip |
Add distcheck support to travis configuration.
Implements 25814.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index dc0a8ac67a..6da3027b85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,6 +90,8 @@ matrix: - compiler: gcc - compiler: gcc env: COVERAGE_OPTIONS="--enable-coverage" + - compiler: gcc + env: DISTCHECK="yes" ## The "sudo: required" forces non-containerized builds, working ## around a Travis CI environment issue: clang LeakAnalyzer fails ## because it requires ptrace and the containerized environment no @@ -118,7 +120,8 @@ script: - ./autogen.sh - ./configure $RUST_OPTIONS $COVERAGE_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening ## We run `make check` because that's what https://jenkins.torproject.org does. - - make check + - if [[ "$DISTCHECK" == "" ]]; then make check; fi + - if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$RUST_OPTIONS $COVERAGE_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening"; fi after_failure: ## `make check` will leave a log file with more details of test failures. |