From 4f2e8d5dbb8a013f7865407aaa85658c351cb34b Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 20 Jul 2017 23:31:47 -0700 Subject: [PATCH] Workaround for "no bin target named serde_derive_tests_no_std" --- Cargo.toml | 1 - test_suite/no_std/Cargo.toml | 2 ++ travis.sh | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 29db37d3..cb35f854 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,5 +5,4 @@ members = [ "serde_derive_internals", "serde_test", "test_suite", - "test_suite/no_std", ] diff --git a/test_suite/no_std/Cargo.toml b/test_suite/no_std/Cargo.toml index 80bb6ed2..7c004066 100644 --- a/test_suite/no_std/Cargo.toml +++ b/test_suite/no_std/Cargo.toml @@ -7,3 +7,5 @@ publish = false libc = { version = "0.2", default-features = false } serde = { path = "../../serde", default-features = false } serde_derive = { path = "../../serde_derive" } + +[workspace] diff --git a/travis.sh b/travis.sh index ddfbc333..c43cb55f 100755 --- a/travis.sh +++ b/travis.sh @@ -41,6 +41,7 @@ if [ -n "${CLIPPY}" ]; then cargo clippy -- -Dclippy else CHANNEL=nightly + cd "$DIR" cargo clean cd "$DIR/serde" channel build @@ -55,6 +56,7 @@ else channel build CHANNEL=beta + cd "$DIR" cargo clean cd "$DIR/serde" channel build --features rc @@ -62,6 +64,7 @@ else channel test CHANNEL=stable + cd "$DIR" cargo clean cd "$DIR/serde" channel build --features rc @@ -71,6 +74,7 @@ else channel test CHANNEL=1.13.0 + cd "$DIR" cargo clean cd "$DIR/serde" channel build --features rc