Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
Legacy
gitolite
user
isis
Tor
Commits
ca4168ea
Unverified
Commit
ca4168ea
authored
Jul 17, 2017
by
Isis Lovecruft
Browse files
Options
Downloads
Patches
Plain Diff
[skip ci] Add comments to describe our Travis CI config.
parent
63928a0b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+23
-1
23 additions, 1 deletion
.travis.yml
with
23 additions
and
1 deletion
.travis.yml
+
23
−
1
View file @
ca4168ea
...
...
@@ -23,9 +23,14 @@ os:
## This will make your CI builds take roughly ten times longer to finish.
# - osx
## Use the Ubuntu Trusty images.
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.)
sudo
:
false
## (Linux only) Download our dependencies
addons
:
apt
:
packages
:
...
...
@@ -33,24 +38,41 @@ addons:
-
libseccomp2
-
zlib1g-dev
## The build matrix in the following two stanzas expands into four builds (per OS):
##
## * with GCC, with Rust
## * with GCC, without Rust
## * with Clang, with Rust
## * with Clang, without Rust
env
:
global
:
## The Travis CI environment allows us two cores, so let's use both.
-
MAKEFLAGS="-j 2"
matrix
:
-
RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
-
RUST_OPTIONS=""
matrix
:
## If one build in the matrix fails (e.g. if building withour Rust and Clang
## fails, but building with Rust and GCC is still going), then cancel the
## entire job early and call the whole thing a failure.
fast_finish
:
true
before_install
:
## If we're on OSX, homebrew usually needs to updated first
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
## Download rustup
-
curl -Ssf -o rustup.sh https://sh.rustup.rs
install
:
## If we're on OSX use brew to install dependencies (for Linux, see the "apt:" section above)
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade openssl; }; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade libevent; }; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade pkg-config; }; fi
-
curl -Ssf -o rustup.sh https://sh.rustup.rs
## Install the nightly channels of rustc and cargo and setup our toolchain environment
-
sh rustup.sh -y --default-toolchain nightly
-
source $HOME/.cargo/env
## Get some info about rustc and cargo
-
which rustc
-
which cargo
-
rustc --version
...
...
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
sign in
to comment