From: Jason Ish Date: Fri, 14 Jul 2017 14:28:44 +0000 (-0600) Subject: travis: enable strict rust; use rust 1.15.0 X-Git-Tag: suricata-4.0.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16921b6b99acc5467b04dc992765c057cf1875a3;p=thirdparty%2Fsuricata.git travis: enable strict rust; use rust 1.15.0 Adds --enable-rust-strict to fail on warnings. Also update the minimum Rust version from 1.7.0 to 1.15.0. --- diff --git a/.travis.yml b/.travis.yml index bb635be235..9b01f015f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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