Use check instead of build in the CI

This commit is contained in:
Roey Darwish Dror
2018-08-26 16:29:47 +03:00
parent 98ec9ca011
commit 603b6e8627
2 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@ set -ex
# TODO This is the "test phase", tweak it as you see fit
main() {
cargo fmt --all -- --check
cross build --target $TARGET
cross build --target $TARGET --release
cross check --target $TARGET
cross check --target $TARGET --release
if [ ! -z $DISABLE_TESTS ]; then
return