aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-11 13:09:21 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-11 13:09:21 -0400
commit0bef3a21cc749550e47dfeaadb9843e91567e841 (patch)
treebb83b4d34cc515a63aefd1168041af1d9f35238e
parent0dcf29793c8889c698adc47ba6ac50522b97e6d7 (diff)
parent5a8827a4c98a354c775060f6c85c05a97c56e9b4 (diff)
downloadtor-0bef3a21cc749550e47dfeaadb9843e91567e841.tar.gz
tor-0bef3a21cc749550e47dfeaadb9843e91567e841.zip
Merge branch 'maint-0.3.2' into release-0.3.2
-rw-r--r--.travis.yml22
-rw-r--r--changes/ticket272526
-rw-r--r--changes/ticket27252-0325
3 files changed, 29 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 82eced41b2..82eeecb580 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,7 +37,7 @@ env:
## and it's going to take a while for them to be fixed. See:
## https:/trac.torproject.org/projects/tor/ticket/25386
## https:/trac.torproject.org/projects/tor/ticket/26398
- - RUST_OPTIONS="--enable-rust --enable-cargo-online-mode" HARDENING_OPTIONS=""
+ - RUST_OPTIONS="--enable-rust" RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
matrix:
## include creates builds with gcc, linux, sudo: false
@@ -50,10 +50,10 @@ matrix:
# - env: HARDENING_OPTIONS=""
## We check asciidoc with distcheck, to make sure we remove doc products
- env: DISTCHECK="yes" ASCIIDOC_OPTIONS=""
- ## Check rust offline without hardening (see above), or distcheck
+ ## Check rust online without hardening (see above), and without distcheck
## Distcheck doesn't work with rust in 0.3.2
## TOR_RUST_DEPENDENCIES is spelt RUST_DEPENDENCIES in 0.3.2
- - env: RUST_OPTIONS="--enable-rust" RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
+ - env: RUST_OPTIONS="--enable-rust --enable-cargo-online-mode" HARDENING_OPTIONS=""
## Uncomment to allow the build to report success (with non-required
## sub-builds continuing to run) if all required sub-builds have
@@ -70,9 +70,23 @@ matrix:
## Clang doesn't work in containerized builds, see below.
- compiler: clang
sudo: false
- ## We also exclude non-containerized gcc, because they're slow and redundant.
+ ## Non-containerized gcc are slow and redundant.
- compiler: gcc
sudo: required
+ ## gcc on OSX is less useful, because the default compiler is clang.
+ - compiler: gcc
+ os: osx
+ ## gcc on Linux with no env is redundant, because all the custom builds use
+ ## gcc on Linux
+ - compiler: gcc
+ os: linux
+ env:
+ ## offline rust builds for gcc on Linux are redundant, because we do an
+ ## online rust build for gcc on Linux
+ - compiler: gcc
+ os: linux
+ ## TOR_RUST_DEPENDENCIES is spelt RUST_DEPENDENCIES in 0.3.2
+ env: RUST_OPTIONS="--enable-rust" RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
## We don't need sudo. (The "apt:" stanza after this allows us to not need
## sudo; otherwise, we would need it for getting dependencies.)
diff --git a/changes/ticket27252 b/changes/ticket27252
new file mode 100644
index 0000000000..410ddef8c0
--- /dev/null
+++ b/changes/ticket27252
@@ -0,0 +1,6 @@
+ o Minor features (continuous integration):
+ - Skip gcc on OSX in Travis CI, it's rarely used.
+ Skip a duplicate hardening-off build in Travis on Tor 0.2.9.
+ Skip gcc on Linux with default settings, because all the non-default
+ builds use gcc on Linux.
+ Implements ticket 27252.
diff --git a/changes/ticket27252-032 b/changes/ticket27252-032
new file mode 100644
index 0000000000..4752aedcf6
--- /dev/null
+++ b/changes/ticket27252-032
@@ -0,0 +1,5 @@
+ o Minor features (continuous integration):
+ - Only run one online rust build in Travis, to reduce network errors.
+ Skip offline rust builds on Travis for Linux gcc, because they're
+ redundant.
+ Implements ticket 27252.