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

@@ -24,8 +24,8 @@ install:
test_script:
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo build --target %TARGET% &&
cargo build --target %TARGET% --release
cargo check --target %TARGET% &&
cargo check --target %TARGET% --release
)
before_deploy:

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