ignore failures for both beta and nightly in the pipeline

This commit is contained in:
Sunshine 2019-12-18 11:48:37 -05:00
parent c7fc121c7c
commit 169b9657e5
2 changed files with 11 additions and 9 deletions

View file

@ -4,23 +4,24 @@ cache: cargo
sudo: false sudo: false
os: os:
- linux - linux
- osx - osx
rust: rust:
- stable - stable
- beta - beta
- nightly - nightly
before_script: before_script:
- rustup component add rustfmt - rustup component add rustfmt
script: script:
- cargo build --all --locked --verbose - cargo build --all --locked --verbose
- cargo test --all --locked --verbose - cargo test --all --locked --verbose
- cargo fmt --all -- --check - cargo fmt --all -- --check
jobs: jobs:
allow_failures: allow_failures:
- rust: beta
- rust: nightly - rust: nightly
fast_finish: true fast_finish: true

View file

@ -94,6 +94,7 @@ environment:
# or test failure in the matching channels/targets from failing the entire build. # or test failure in the matching channels/targets from failing the entire build.
matrix: matrix:
allow_failures: allow_failures:
- channel: beta
- channel: nightly - channel: nightly
# If you only care about stable channel build failures, uncomment the following line: # If you only care about stable channel build failures, uncomment the following line: