Merge pull request #403 from brendanzab/improve-ci-performance
Improve ci build parallelization
This commit is contained in:
commit
da6e5437ea
1 changed files with 19 additions and 3 deletions
22
.travis.yml
22
.travis.yml
|
@ -5,7 +5,23 @@ rust:
|
||||||
- beta
|
- beta
|
||||||
- stable
|
- stable
|
||||||
|
|
||||||
|
cache: cargo
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CARGO_FEATURES=""
|
||||||
|
- CARGO_FEATURES="eders"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- rust: nightly
|
||||||
|
env: CARGO_FEATURES="use_simd"
|
||||||
|
- rust: nightly
|
||||||
|
env: CARGO_FEATURES="eders use_simd"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo build && cargo test && cargo test --features "eders"
|
- cargo build --features "$CARGO_FEATURES"
|
||||||
- if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then cargo bench; fi
|
- cargo test --features "$CARGO_FEATURES"
|
||||||
- if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then cargo build --features "use_simd" && cargo test --features "use_simd" && cargo bench --features "use_simd"; fi
|
- |
|
||||||
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
||||||
|
cargo bench --features "$CARGO_FEATURES"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue