aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-24 10:38:34 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-24 10:38:34 -0400
commitd44753b0e8a710468171ad24a1be85c921923e76 (patch)
tree3da89140fef37eb3426dc628c6bd8d70f9d042a4
parent7e7b052b2a114900b5e6575fd5375dc00c09d5db (diff)
parentd5d312884f7d8d9a0212b12e954270b8b9f72258 (diff)
downloadtor-d44753b0e8a710468171ad24a1be85c921923e76.tar.gz
tor-d44753b0e8a710468171ad24a1be85c921923e76.zip
Merge branch 'travis_distcheck_033' into maint-0.3.3
-rw-r--r--.travis.yml7
-rw-r--r--changes/travis_distcheck4
2 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 3d61f5a61a..18c5b5bdd5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -102,6 +102,10 @@ matrix:
env: RUST_OPTIONS=""
- compiler: gcc
env: COVERAGE_OPTIONS="--enable-coverage"
+ - compiler: gcc
+ env: DISTCHECK="yes" RUST_OPTIONS=""
+ - compiler: gcc
+ env: DISTCHECK="yes" RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
## 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
@@ -148,7 +152,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.