aboutsummaryrefslogtreecommitdiff
path: root/ci/script.sh
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-15 20:18:11 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-15 20:18:11 +0000
commiteba691a5f2ac42d6a50203f58632209a27ab9566 (patch)
tree69488293ab75c55308991c10ea40efaf61b891e1 /ci/script.sh
parent31df3e2ca9cf6f343a90432002a66684506dd46e (diff)
parente03c09874fd557126d8ae3d21e5b90681d358ef0 (diff)
Merge #111
111: some refactors r=japaric a=japaric Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'ci/script.sh')
-rw-r--r--ci/script.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/ci/script.sh b/ci/script.sh
index eb582d4..20394d5 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -5,10 +5,11 @@ main() {
if [ $T = x86_64-unknown-linux-gnu ]; then
# compile-fail and compile-pass tests
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
- # TODO how to run a subset of these tests when timer-queue is disabled?
- cargo test --features timer-queue --test compiletest --target $T
- fi
+ case $TRAVIS_RUST_VERSION in
+ nightly*)
+ # TODO how to run a subset of these tests when timer-queue is disabled?
+ cargo test --features timer-queue --test compiletest --target $T
+ esac
cargo check --target $T
cargo check --features timer-queue --target $T