Skip to content

Commit dde7851

Browse files
committed
Auto merge of #318 - BurntSushi:tweak-travis, r=BurntSushi
Reduce cargo test parallelism. It looks like `cargo test` is getting SIGKILL'ed on travis and I'm not sure why. One possibility is that it's running out of memory. Try to fix this by reducing the number of jobs `cargo test` does in parallel.
2 parents 52fdae7 + e915a27 commit dde7851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ script:
99
- cargo build --verbose
1010
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
1111
cargo build --verbose --manifest-path=regex-debug/Cargo.toml;
12-
RUSTFLAGS="-C target-feature=+ssse3" cargo test --verbose --features 'simd-accel pattern';
12+
RUSTFLAGS="-C target-feature=+ssse3" cargo test --verbose --features 'simd-accel pattern' --jobs 2;
1313
else
14-
travis_wait cargo test --verbose;
14+
travis_wait cargo test --verbose --jobs 2;
1515
fi
1616
- ./run-shootout-test
1717
- cargo doc --verbose

0 commit comments

Comments
 (0)