fix bash comparison

This commit is contained in:
Jorge Aparicio 2019-11-06 19:48:02 -05:00
parent da9c6a714e
commit e9a83947bc

View file

@ -37,7 +37,7 @@ main() {
mkdir -p ci/builds mkdir -p ci/builds
if [ $T = x86_64-unknown-linux-gnu ]; then if [ $T = x86_64-unknown-linux-gnu ]; then
if [ $TRAVIS_RUST_VERSION == 1.*.* ]; then if [[ $TRAVIS_RUST_VERSION == 1.*.* ]]; then
# test on a fixed version (MSRV) to avoid problems with changes in rustc diagnostics # test on a fixed version (MSRV) to avoid problems with changes in rustc diagnostics
# compile-fail tests # compile-fail tests
cargo test --test single --target $T cargo test --test single --target $T