summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-24 10:38:19 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-24 10:38:19 -0400
commit34e7dca9c9e902a58fe8942cef666f1d99d06030 (patch)
treed0d9bb1a2f2e1cab01e9bf89b096ac23b97d1456
parent9727b4c5d683173888b5a49e8b24c3faa9045521 (diff)
parent61251337153448afa1cc2baae252c3f0d6353162 (diff)
downloadtor-34e7dca9c9e902a58fe8942cef666f1d99d06030.tar.gz
tor-34e7dca9c9e902a58fe8942cef666f1d99d06030.zip
Merge branch 'travis_distcheck_029' into maint-0.2.9
-rw-r--r--.travis.yml5
-rw-r--r--changes/travis_distcheck4
2 files changed, 8 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.
diff --git a/changes/travis_distcheck b/changes/travis_distcheck
new file mode 100644
index 0000000000..0f278fe7ee
--- /dev/null
+++ b/changes/travis_distcheck
@@ -0,0 +1,4 @@
+ o Minor features (continuous integration):
+ - Our .travis.yml configuration now includes support for testing
+ the results of "make distcheck". (It's not uncommon for "make check" to
+ pass but "make distcheck" to fail.) Closes ticket 25814.