Run (non-voting) tests against Rust nightly in Travis

This commit is contained in:
Daniel Watkins committed 2018-08-29 12:11:51 -04:00
1 parent 0f8ba73777
commit 352c8a57c5
1 file changed
+12
+12
View File
@@ -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