From b65babf47d063279258ed1ae464dce52db528e64 Mon Sep 17 00:00:00 2001 From: Thomas Schaller Date: Sat, 5 Jan 2019 15:00:00 +0100 Subject: [PATCH] More improvements to CI script --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 59aa594b8..19e176ab9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,10 +22,15 @@ script: cargo build --all-features --verbose; cargo test --all-features --verbose --no-run; cargo bench --verbose --no-run --all-features; + elif [ "$TRAVIS_RUST_VERSION" == "1.28.0" ]; then + cargo check --tests --no-default-features; + cargo check --tests --no-default-features --features "parallel"; + cargo check --tests --no-default-features --features "serde"; + cargo check --tests --no-default-features --features "serde,parallel"; else cargo build --verbose --no-default-features; cargo test --verbose --no-default-features; - cargo test --verbose --all-features; + cargo test --verbose --features "parallel,serde"; fi - cargo build --manifest-path ./specs-derive/Cargo.toml --verbose - cargo test --manifest-path ./specs-derive/Cargo.toml --verbose