ci: allow failure at rust nightly

This commit is contained in:
PoiScript 2019-10-09 11:56:07 +08:00
parent a5809b29a6
commit b44ffc9637

View file

@ -3,6 +3,10 @@ rust:
- stable - stable
- nightly - nightly
matrix:
allow_failures:
- rust: nightly
cache: cargo cache: cargo
before_script: before_script:
@ -11,9 +15,9 @@ before_script:
script: script:
- cargo fmt --all -- --check - cargo fmt --all -- --check
- if [ $TRAVIS_RUST_VERSION == "stable" ]; then - if [ $TRAVIS_RUST_VERSION == "stable" ]; then
cargo test -p orgize-demos -p orgize; cargo test -p orgize-demos -p orgize --all-features;
else else
cargo test -p orgize-sync; cargo test -p orgize-sync --all-features;
fi fi
deploy: deploy: