From be86927bc5b566e07e01dab851958c75e8b21caf Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Sat, 25 Jul 2020 09:19:21 +0200 Subject: [PATCH] Use bash syntax to check value of TRAVIS_RUST_VERSION --- .ci/build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 20c75afa..fb0e7e04 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -5,9 +5,7 @@ set -ex cargo build --verbose cargo test --verbose -if [ "$TRAVIS_RUST_VERSION" = "nightly" ] -then +if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then cargo build --verbose --features no_std cargo test --verbose --features no_std fi -