From b503c823e57c859d23be6e2d8c67ab5d79de9ec7 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 1 May 2019 19:20:15 -0700 Subject: [PATCH] Skip doc tests when testing without std --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0a50120..3a0278e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,5 +22,5 @@ script: - cargo build --features "$FEATURES" - cargo test --features "$FEATURES" - cargo build --no-default-features --features "$FEATURES" - - cargo test --no-default-features --features "$FEATURES" + - cargo test --tests --no-default-features --features "$FEATURES" - if [ "$BUILD_BENCH" == "true" ]; then cargo bench --no-run --features "$FEATURES"; fi