[tor-commits] [tor/master] Travis: Check Rust with distcheck in 0.3.3 and later

nickm at torproject.org nickm at torproject.org
Wed Aug 22 00:04:25 UTC 2018


commit f5aa667d48d88f917371219ddefce26637c2b1ad
Author: teor <teor at torproject.org>
Date:   Fri Aug 10 11:59:42 2018 +1000

    Travis: Check Rust with distcheck in 0.3.3 and later
    
    Backports an 0.3.4 change that also works in 0.3.3.
    
    Part of 24629.
---
 .travis.yml                  | 5 +++--
 changes/ticket24629-backport | 3 +++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e59995062..3d86fdc1b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,8 +50,9 @@ matrix:
     # - env: HARDENING_OPTIONS=""
     ## We check asciidoc with distcheck, to make sure we remove doc products
     - env: ASCIIDOC_OPTIONS="" DISTCHECK="yes"
-    ## Check rust offline without distcheck (see above)
-    - env: RUST_OPTIONS="--enable-rust" TOR_RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
+    ## Check rust offline 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=""
 
   ## Uncomment to allow the build to report success (with non-required
   ## sub-builds continuing to run) if all required sub-builds have
diff --git a/changes/ticket24629-backport b/changes/ticket24629-backport
new file mode 100644
index 000000000..dfbc46563
--- /dev/null
+++ b/changes/ticket24629-backport
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+    - Backport Travis rust distcheck to 0.3.3.
+      Closes ticket 24629.





More information about the tor-commits mailing list