[skip travis] Some travis tweaking

This commit is contained in:
ClementTsang 2020-01-03 00:20:47 -05:00
parent cfca180a11
commit 81cce5b0ed

View File

@ -11,6 +11,7 @@ jobs:
allow_failures: allow_failures:
- rust: nightly - rust: nightly
- env: TARGET=x86_64-pc-windows-gnu # Seems to cause problems. TODO: Add test for it, but keep allow fail. - env: TARGET=x86_64-pc-windows-gnu # Seems to cause problems. TODO: Add test for it, but keep allow fail.
fast_finish: true
before_install: before_install:
- export RUST_BACKTRACE=1 - export RUST_BACKTRACE=1
@ -24,7 +25,7 @@ before_install:
fi fi
before_script: rustup target add $TARGET before_script: rustup target add $TARGET
script: script:
- cargo build --release --target $TARGET - cargo build --verbose --target $TARGET
- cargo test --verbose --target $TARGET - cargo test --verbose --target $TARGET
# Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work # Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work