From f20ca3b0547f64839dcd0640aefa964c7ae79835 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 22 Jan 2020 12:51:01 -0800 Subject: [PATCH] Really disable serde std feature in CI When building the crate root, serde/std gets enabled transitively through our dev-dependency on trybuild. This is a Cargo bug but for now work around it. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1571f80..474ad4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: - rust: 1.31.0 - rust: 1.36.0 script: - - cargo build --no-default-features --features alloc + - cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc - rust: nightly name: Clippy