ci: fix if condition

This commit is contained in:
Jorge Aparicio 2018-07-25 15:02:10 -05:00
parent a4197d1cde
commit 47e65384f2

View file

@ -7,7 +7,7 @@ main() {
fi
# test that the functions don't contain invocations of `panic!`
if [ $TRAVIS_RUST_VERSION ]; then
if [ $TRAVIS_RUST_VERSION = nightly ]; then
cross build --release --target $TARGET --example no-panic
return
fi