27 lines
476 B
YAML
27 lines
476 B
YAML
language: rust
|
|
|
|
rust:
|
|
- nightly
|
|
- beta
|
|
- 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:
|
|
- cargo build --features "$CARGO_FEATURES"
|
|
- cargo test --features "$CARGO_FEATURES"
|
|
- |
|
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
|
cargo bench --features "$CARGO_FEATURES"
|
|
fi
|