Add release-mode tests

This commit is contained in:
David Tolnay 2020-01-24 13:02:35 -08:00
parent 94c358c535
commit 40020b76c1
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ matrix:
script:
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
- cargo test --features "$FEATURES" --release
- cargo build --no-default-features --features "$FEATURES"
- cargo test --tests --no-default-features --features "$FEATURES"
- cargo test --tests --no-default-features --features "$FEATURES" --release
- if [ "$BUILD_BENCH" == "true" ]; then cargo bench --no-run --features "$FEATURES"; fi