Travis: replace --all with --workspace

This commit is contained in:
Chris Wong 2020-09-28 22:13:07 +10:00
parent 64390ec0ce
commit 7f354e2c21

View file

@ -9,7 +9,7 @@ jobs:
- | - |
RUN_CLIPPY=true RUN_CLIPPY=true
rustup component add clippy --toolchain=nightly || RUN_CLIPPY=false rustup component add clippy --toolchain=nightly || RUN_CLIPPY=false
- cargo test --all --all-features - cargo test --workspace --all-features
- | - |
if $RUN_CLIPPY; then if $RUN_CLIPPY; then
CLIPPY_STATUS=0 CLIPPY_STATUS=0
@ -22,7 +22,7 @@ jobs:
rust: stable rust: stable
script: script:
# Skip `--all-features` because stable Rocket isn't released yet # Skip `--all-features` because stable Rocket isn't released yet
- cargo test --all - cargo test --workspace
- name: "Benchmarks" - name: "Benchmarks"
script: script:
- (cd benchmarks && cargo test --benches) - (cd benchmarks && cargo test --benches)