summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2016-05-08 18:26:33 -0500
committerJorge Aparicio <japaricious@gmail.com>2016-05-08 18:26:33 -0500
commit1ae0d4f637ea9e86b7dff959fde13f2b61dda78e (patch)
treecb1bb2252edec2fd31e3fe2ec0c6cf61f68f3082 /ci
parentf9aa9a6843de9b325ff2fe3e52e940ebba49ed22 (diff)
ci: test without default features
closes #138
Diffstat (limited to 'ci')
-rw-r--r--ci/script.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh
index f787cd3f..9504ae8f 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -25,6 +25,14 @@ disable_cross_doctests() {
}
run_test_suite() {
+ # Extra test without default features to avoid bitrot. We only test on a single target (but with
+ # all the channels) to avoid significantly increasing the build times
+ if [ $TARGET = x86_64-unknown-linux-gnu ]; then
+ cargo build --target $TARGET --no-default-features --verbose
+ cargo test --target $TARGET --no-default-features --verbose
+ cargo clean
+ fi
+
cargo build --target $TARGET --verbose
cargo test --target $TARGET --verbose
}