Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orbea
Tor
Commits
483a59ec
Commit
483a59ec
authored
7 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'tlyu-github/travis-workaround-031' into maint-0.3.1
parents
9b19e33b
0e7f1b06
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+31
-4
31 additions, 4 deletions
.travis.yml
with
31 additions
and
4 deletions
.travis.yml
+
31
−
4
View file @
483a59ec
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
...
...
@@ -55,8 +61,12 @@ env:
## The Travis CI environment allows us two cores, so let's use both.
-
MAKEFLAGS="-j 2"
matrix
:
## Leave at least one entry here or Travis seems to generate a
## matrix entry with empty matrix environment variables. Leaving
## more than one entry causes unwanted matrix entries with
## unspecified compilers.
-
RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
-
RUST_OPTIONS=""
#
- RUST_OPTIONS=""
matrix
:
## If one build in the matrix fails (e.g. if building withour Rust and Clang
...
...
@@ -64,6 +74,23 @@ 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
-
compiler
:
gcc
env
:
RUST_OPTIONS=""
## 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
-
compiler
:
clang
sudo
:
required
env
:
RUST_OPTIONS=""
before_install
:
## If we're on OSX, homebrew usually needs to updated first
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment