]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
travis: enable strict rust; use rust 1.15.0
authorJason Ish <ish@unx.ca>
Fri, 14 Jul 2017 14:28:44 +0000 (08:28 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 19 Jul 2017 07:38:33 +0000 (09:38 +0200)
Adds --enable-rust-strict to fail on warnings. Also update
the minimum Rust version from 1.7.0 to 1.15.0.

.travis.yml

index bb635be235a8f9c0eaf5c57ef1334765609ad296..9b01f015f4077ecdce74e696fff4d48b748fefa7 100644 (file)
@@ -64,16 +64,16 @@ matrix:
         - NAME="linux,gcc,rust"
         - *default-cflags
         - ENABLE_RUST="yes"
-        - ARGS="--enable-rust"
-    # Linux, gcc, Rust (1.7.0 - oldest supported).
+        - ARGS="--enable-rust --enable-rust-strict"
+    # Linux, gcc, Rust (1.15.0 - oldest supported).
     - os: linux
       compiler: gcc
       env:
-        - NAME="linux,gcc,rust-1.7.0"
+        - NAME="linux,gcc,rust-1.15.0"
         - *default-cflags
         - ENABLE_RUST="yes"
-        - RUST_VERSION="1.7.0"
-        - ARGS="--enable-rust"
+        - RUST_VERSION="1.15.0"
+        - ARGS="--enable-rust --enable-rust-strict"
     # Linux, gcc, -DNDEBUG.
     - os: linux
       compiler: gcc