From e915a27828005f0c505a0ad175946bc683e15705 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Mon, 2 Jan 2017 10:57:55 -0500 Subject: [PATCH] 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. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7c9a99a1c1..16ab0f66a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,9 @@ script: - cargo build --verbose - if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then cargo build --verbose --manifest-path=regex-debug/Cargo.toml; - RUSTFLAGS="-C target-feature=+ssse3" cargo test --verbose --features 'simd-accel pattern'; + RUSTFLAGS="-C target-feature=+ssse3" cargo test --verbose --features 'simd-accel pattern' --jobs 2; else - travis_wait cargo test --verbose; + travis_wait cargo test --verbose --jobs 2; fi - ./run-shootout-test - cargo doc --verbose