Use bash syntax to check value of TRAVIS_RUST_VERSION
This commit is contained in:
parent
261273bac3
commit
be86927bc5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user