ci: fix if condition
This commit is contained in:
parent
a4197d1cde
commit
47e65384f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue