From 0c4c78d68cf3bb118270197ae8b2a67345060098 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 15 Dec 2015 10:02:30 -0800 Subject: [PATCH] Update travis syntax --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 888ca2e..571d1a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,9 @@ script: - cargo build --verbose --no-default-features - cargo build --verbose --features serde --no-default-features - cargo test --verbose --features serde - - [ "$TRAVIS_RUST_VERSION" = "1.0.0" ] || cargo test --verbose --manifest-path serde-tests/Cargo.toml + - if [ "$TRAVIS_RUST_VERSION" != "1.0.0" ]; then + cargo test --verbose --manifest-path serde-tests/Cargo.toml; + fi - rustdoc --test README.md -L target - cargo doc --no-deps after_success: