Browse Source

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.
teor 5 years ago
parent
commit
7ec75e014f
2 changed files with 6 additions and 2 deletions
  1. 3 2
      .travis.yml
  2. 3 0
      changes/ticket24629-backport

+ 3 - 2
.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

+ 3 - 0
changes/ticket24629-backport

@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+    - Backport Travis rust distcheck to 0.3.3.
+      Closes ticket 24629.