Skip to content

Commit

Permalink
Test --all-features separately (lambda-fairy#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-fairy authored Oct 6, 2020
1 parent c139b7b commit 6c387e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- |
RUN_CLIPPY=true
rustup component add clippy --toolchain=nightly || RUN_CLIPPY=false
- cargo test --workspace --all-features
- cargo test --workspace
- |
if $RUN_CLIPPY; then
CLIPPY_STATUS=0
Expand All @@ -17,6 +17,11 @@ jobs:
done
(exit $CLIPPY_STATUS)
fi
# Optional features (i.e. web framework integrations) take a long time to
# build and rarely break. Speed up CI by checking them separately.
- name: "All features"
script:
- cargo check --workspace --all-features
- name: "Benchmarks"
script:
- (cd benchmarks && cargo test --benches --locked)
Expand Down

0 comments on commit 6c387e8

Please sign in to comment.