From b2843f62096c2302cb73c4e037b6d40d2e94516a Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Wed, 20 Dec 2017 16:49:19 +0900 Subject: [PATCH] Update CI test command --- ci/test_full.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ci/test_full.sh b/ci/test_full.sh index 5521ed5..29eedf6 100755 --- a/ci/test_full.sh +++ b/ci/test_full.sh @@ -12,12 +12,6 @@ cargo test --verbose cargo build --no-default-features cargo test --no-default-features -# Each isolated feature should also work everywhere. -for feature in rustc-serialize serde; do - cargo build --verbose --no-default-features --features="$feature" - cargo test --verbose --no-default-features --features="$feature" -done - -# Downgrade serde and build test the 0.7.0 channel as well -cargo update -p serde --precise 0.7.0 -cargo build --verbose --no-default-features --features "serde" +# It also should build with serde features +cargo build --verbose --no-default-features --features=serde +cargo test --verbose --no-default-features --features=serde