From 749fa014d13d46a1a3f9882744c650321e209a23 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 24 Oct 2017 16:34:00 -0600 Subject: [PATCH] travis: allow rust-stable build to fail --- .travis.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c33236ca8..b3d002ed98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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