Skip to content

Commit 582af1f

Browse files
committed
Run tests in --release mode in travis too
1 parent ea6f5b6 commit 582af1f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ addons:
2323
- libopenblas-dev
2424
script:
2525
- |
26-
cargo build --verbose &&
27-
cargo test --verbose &&
28-
([ -z "$FEATURES" ] || cargo build --verbose --features "$FEATURES") &&
29-
([ -z "$FEATURES" ] || cargo test --verbose --features "$FEATURES") &&
26+
cargo build --verbose --features "$FEATURES" &&
27+
cargo test --verbose --features "$FEATURES" &&
28+
cargo test --release --verbose --features "" &&
3029
([ "$BENCH" != 1 ] || cargo bench --no-run --verbose --features "$FEATURES")

0 commit comments

Comments
 (0)