Merge pull request #98 from rhysd/fix-ci

Fix nighly and beta CI
This commit is contained in:
Sunshine 2020-01-07 18:14:30 -05:00 committed by GitHub
commit a46d89cefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -94,8 +94,8 @@ environment:
# or test failure in the matching channels/targets from failing the entire build.
matrix:
allow_failures:
- channel: beta
- channel: nightly
- channel: beta
# If you only care about stable channel build failures, uncomment the following line:
#- channel: beta
@ -128,4 +128,3 @@ build: false
# environment variable.
test_script:
- cargo test --verbose %cargoflags%
- cargo fmt --all -- --check

View file

@ -18,10 +18,12 @@ before_script:
script:
- cargo build --all --locked --verbose
- cargo test --all --locked --verbose
- cargo fmt --all -- --check
- |
if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then
cargo fmt --all -- --check
fi
jobs:
allow_failures:
- rust: beta
- rust: nightly
fast_finish: true