]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
travis: allow rust-stable build to fail 2952/head
authorJason Ish <ish@unx.ca>
Tue, 24 Oct 2017 22:34:00 +0000 (16:34 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 27 Oct 2017 08:26:55 +0000 (10:26 +0200)
.travis.yml

index 7c33236ca8f118958905884434750430312a0995..b3d002ed984f1cbdce2196e2731e90e48de6ace1 100644 (file)
@@ -43,6 +43,17 @@ default-cflags: &default-cflags
   CFLAGS="-Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function"
 
 matrix:
+  allow_failures:
+    # Allow the rust-stable build to fail. These entries must match
+    # the env entry in the build matrix exactly.
+    - env:
+        - NAME="linux,gcc,rust-stable"
+        - *default-cflags
+        - ENABLE_RUST="yes"
+        - RUST_VERSION="stable"
+        - ARGS="--enable-rust --enable-rust-strict"
+        - DO_CHECK_SETUP_SCRIPTS="yes"
+        - DO_DISTCHECK="yes"
   include:
     # Linux, gcc, coccinelle.
     - os: linux
@@ -58,14 +69,17 @@ matrix:
             - *packages
             - coccinelle
     # Linux, gcc, Rust (latest stable).
+    # This is allowed to fail, update allow_failures if the env changes.
     - os: linux
       compiler: gcc
       env:
-        - NAME="linux,gcc,rust"
+        - NAME="linux,gcc,rust-stable"
         - *default-cflags
         - ENABLE_RUST="yes"
+        - RUST_VERSION="stable"
         - ARGS="--enable-rust --enable-rust-strict"
         - DO_CHECK_SETUP_SCRIPTS="yes"
+        - DO_DISTCHECK="yes"
     # Linux, gcc, Rust.
     # - Rust 1.21.0, the latest known working version.
     - os: linux