[tor-commits] [tor/maint-0.3.4] 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 7ec75e014fb7e736cdf392a4ca11196c0d492044
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 81f449797..f1b89e103 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: DISTCHECK="yes" ASCIIDOC_OPTIONS=""
-    ## 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