From 9e650fd8ad92948ff172687318e0bb8ab90c6e29 Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Thu, 2 May 2019 18:05:14 +0200 Subject: [PATCH] Adjust Travis-CI config to build with and without `rand` --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 98fd627..9a793d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ cache: cargo env: - CARGO_FEATURES="" - - CARGO_FEATURES="mint serde" + - CARGO_FEATURES="mint serde rand" matrix: include: @@ -21,8 +21,8 @@ matrix: - rust: nightly script: - - cargo build --features "$CARGO_FEATURES" - - cargo test --features "$CARGO_FEATURES" + - cargo build --no-default-features --features "$CARGO_FEATURES" + - cargo test --no-default-features --features "$CARGO_FEATURES" - | if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then cargo bench --features "$CARGO_FEATURES"