[tor-commits] [tor/maint-0.3.2] Travis: Skip offline rust builds for Linux gcc

nickm at torproject.org nickm at torproject.org
Tue Sep 11 17:09:27 UTC 2018


commit 92f1a8af836933a3488e32bb03f859d5548883d7
Author: teor <teor at torproject.org>
Date:   Thu Aug 23 17:24:38 2018 +1000

    Travis: Skip offline rust builds for Linux gcc
    
    We already do an online rust build for Linux gcc.
    
    Part of 27252.
---
 .travis.yml             | 6 ++++++
 changes/ticket27252-032 | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 578a671d9..bbf0b575b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -81,6 +81,12 @@ matrix:
     - 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-032 b/changes/ticket27252-032
index 5761f04d6..4752aedcf 100644
--- a/changes/ticket27252-032
+++ b/changes/ticket27252-032
@@ -1,3 +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.





More information about the tor-commits mailing list