aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-19 10:17:05 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-19 10:17:05 -0500
commit1cf11b69408ab3707de01711308a05e223a767f5 (patch)
treec7d6deffbd264458c32ba48b6395be00b9a9ceed
parentb85fa0bd5fc95f831cfd416b3ec5bbdd7bc846a7 (diff)
parent36567c5ca4a1f9800415c772c87ee17dfba8d75d (diff)
downloadtor-1cf11b69408ab3707de01711308a05e223a767f5.tar.gz
tor-1cf11b69408ab3707de01711308a05e223a767f5.zip
Merge branch 'maint-0.2.9' into maint-0.3.0
-rw-r--r--.travis.yml24
1 files changed, 21 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 092bf54f82..dd8000fe55 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,10 @@
language: c
-compiler:
- - gcc
- - clang
+## Comment out the compiler list for now to allow an explicit build
+## matrix.
+# compiler:
+# - gcc
+# - clang
notifications:
irc:
@@ -28,6 +30,10 @@ dist: trusty
## We don't need sudo. (The "apt:" stanza after this allows us to not need sudo;
## otherwise, we would need it for getting dependencies.)
+##
+## We override this in the explicit build matrix to work around a
+## Travis CI environment regression
+## https://github.com/travis-ci/travis-ci/issues/9033
sudo: false
## (Linux only) Download our dependencies
@@ -61,6 +67,18 @@ matrix:
## entire job early and call the whole thing a failure.
fast_finish: true
+ ## Create explicit matrix entries to work around a Travis CI
+ ## environment issue. Missing keys inherit from the first list
+ ## entry under that key outside the "include" clause.
+ include:
+ - compiler: gcc
+ ## 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
+ ## longer allows ptrace.
+ - compiler: clang
+ sudo: required
+
before_install:
## If we're on OSX, homebrew usually needs to updated first
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi