]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Travis: Check Rust with distcheck in 0.3.3 and later
authorteor <teor@torproject.org>
Fri, 10 Aug 2018 01:59:42 +0000 (11:59 +1000)
committerteor <teor@torproject.org>
Fri, 10 Aug 2018 06:37:06 +0000 (16:37 +1000)
Backports an 0.3.4 change that also works in 0.3.3.

Part of 24629.

.travis.yml
changes/ticket24629-backport [new file with mode: 0644]

index e599950620250f28629b9a84e00b41d87b41090b..3d86fdc1b79a7d2a4dc50133ce9a5af4a86662a7 100644 (file)
@@ -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 (file)
index 0000000..dfbc465
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+    - Backport Travis rust distcheck to 0.3.3.
+      Closes ticket 24629.