From 352c8a57c5d2fd2c81d368211aa50f4dcea76873 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 29 Aug 2018 12:06:36 -0400 Subject: [PATCH] Run (non-voting) tests against Rust nightly in Travis --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.travis.yml b/.travis.yml index 89617c45c..47e9f5b6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,16 @@ language: rust rust: - stable - beta + - nightly script: - cargo build --verbose --all - cargo test --verbose --all +env: + # This is used to only capture the regular nightly test in allow_failures + - REGULAR_TEST=true + cache: cargo matrix: @@ -26,6 +31,7 @@ matrix: - target env: - TRAVIS_RUST_VERSION=stable + - REGULAR_TEST=false script: tests/.travis-runner.sh - language: python python: 3.6 @@ -38,6 +44,7 @@ matrix: - target env: - TRAVIS_RUST_VERSION=beta + - REGULAR_TEST=false script: tests/.travis-runner.sh - name: rustfmt language: rust @@ -52,3 +59,8 @@ matrix: # creates.) - echo > parser/src/python.rs - cargo fmt --all -- --check + env: + - REGULAR_TEST=false + allow_failures: + - rust: nightly + env: REGULAR_TEST=true