]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge branch 'ticket27252-032' into ticket27252-033
authorteor <teor@torproject.org>
Thu, 23 Aug 2018 08:18:50 +0000 (18:18 +1000)
committerteor <teor@torproject.org>
Thu, 23 Aug 2018 08:19:42 +0000 (18:19 +1000)
Semantic merge:
- Rust offline and online were swapped in ticket27252-032
- TOR_RUST_DEPENDENCIES is spelt RUST_DEPENDENCIES in 0.3.2

1  2 
.travis.yml

diff --cc .travis.yml
index 09bd04505cef695b6aef44a169578fc623137b77,bbf0b575bb477959d44cf3b791cc6a831b3e95c1..bf01523843b42df7cffb93e946bb95de1eeec6b4
@@@ -37,7 -37,7 +37,8 @@@ 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=""
++    ## TOR_RUST_DEPENDENCIES is spelt RUST_DEPENDENCIES in 0.3.2
++    - RUST_OPTIONS="--enable-rust" TOR_RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
  
  matrix:
    ## include creates builds with gcc, linux, sudo: false
      # - env: HARDENING_OPTIONS=""
      ## We check asciidoc with distcheck, to make sure we remove doc products
      - env: DISTCHECK="yes" ASCIIDOC_OPTIONS=""
-     ## Check rust offline with distcheck, to make sure we remove rust products
 -    ## 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 --enable-cargo-online-mode" HARDENING_OPTIONS=""
++    ## Check rust online with distcheck, to make sure we remove rust products
 +    ## But without hardening (see above)
-     - env: DISTCHECK="yes" RUST_OPTIONS="--enable-rust" TOR_RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
++    - env: DISTCHECK="yes" 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
      ## 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
 -      env: RUST_OPTIONS="--enable-rust" RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
+     ## 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" TOR_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.)