Merge pull request #98 from rhysd/fix-ci

Fix nighly and beta CI
pull/102/head
Sunshine 4 years ago committed by GitHub
commit a46d89cefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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

Loading…
Cancel
Save