File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ set -x
11
11
set -e
12
12
13
13
travis-cargo --only nightly build
14
- # Use opt-level=3 because the corruption tests take a long time, and the
14
+ # Use --release because the corruption tests take a long time, and the
15
15
# optimized build saves more time in test execution than it adds in compilation
16
16
# time.
17
17
# TODO: Now that we have opt-level = 3 in the test profile in Cargo.toml,
18
18
# is this necessary anymore?
19
- RUSTFLAGS= ' -C opt-level=3 ' RUST_BACKTRACE=1 travis-cargo --only nightly test
19
+ RUST_BACKTRACE=1 travis-cargo --only nightly test --release
20
20
# TODO: Once no-std and no-os work, add those features.
21
21
for feature in build-ignored-tests use-stdlib-hashmap no-coloring hashmap-no-resize hashmap-no-coalesce; do
22
- RUSTFLAGS=' -C opt-level=3' RUST_BACKTRACE=1 travis-cargo --only nightly test -- \
23
- --features " $feature "
22
+ RUST_BACKTRACE=1 travis-cargo --only nightly test --release -- --features " $feature "
24
23
done
You can’t perform that action at this time.
0 commit comments