Use bash syntax to check value of TRAVIS_RUST_VERSION
This commit is contained in:
@@ -5,9 +5,7 @@ set -ex
|
|||||||
cargo build --verbose
|
cargo build --verbose
|
||||||
cargo test --verbose
|
cargo test --verbose
|
||||||
|
|
||||||
if [ "$TRAVIS_RUST_VERSION" = "nightly" ]
|
if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then
|
||||||
then
|
|
||||||
cargo build --verbose --features no_std
|
cargo build --verbose --features no_std
|
||||||
cargo test --verbose --features no_std
|
cargo test --verbose --features no_std
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user