2014-08-11 06:10:37 +00:00
|
|
|
language: rust
|
2015-05-06 14:15:44 +00:00
|
|
|
|
2015-04-06 17:22:32 +00:00
|
|
|
rust:
|
2015-12-20 20:24:56 +00:00
|
|
|
- nightly
|
2015-09-20 05:58:39 +00:00
|
|
|
- beta
|
2015-09-20 05:32:35 +00:00
|
|
|
- stable
|
2015-05-06 14:15:44 +00:00
|
|
|
|
2017-04-16 07:22:25 +00:00
|
|
|
cache: cargo
|
|
|
|
|
|
|
|
env:
|
|
|
|
- CARGO_FEATURES=""
|
2019-05-02 16:05:14 +00:00
|
|
|
- CARGO_FEATURES="mint serde rand"
|
2017-04-16 07:22:25 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rust: nightly
|
2017-06-06 20:44:13 +00:00
|
|
|
env: CARGO_FEATURES="simd"
|
2017-04-16 07:22:25 +00:00
|
|
|
- rust: nightly
|
2017-06-06 20:48:55 +00:00
|
|
|
env: CARGO_FEATURES="serde simd"
|
2019-02-25 15:29:42 +00:00
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2017-04-16 07:22:25 +00:00
|
|
|
|
2013-10-14 11:49:04 +00:00
|
|
|
script:
|
2019-05-03 14:31:14 +00:00
|
|
|
- cargo build --features "$CARGO_FEATURES"
|
|
|
|
- cargo test --features "$CARGO_FEATURES"
|
2017-04-16 07:22:25 +00:00
|
|
|
- |
|
|
|
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
2019-05-03 14:31:14 +00:00
|
|
|
# The benchmark always needs the 'rand' feature
|
|
|
|
cargo bench --features "$CARGO_FEATURES rand"
|
2017-04-16 07:22:25 +00:00
|
|
|
fi
|