1
Fork 0

Run tests during CI

This commit is contained in:
Jan-Erik Rediger 2019-07-10 14:52:14 +02:00
parent 6cc9b86ca5
commit 584065f8d7
2 changed files with 3 additions and 2 deletions

View file

@ -28,8 +28,8 @@ install:
test_script:
# we don't run the "test phase" when doing deploys
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo test --target %TARGET% &&
cargo build --target %TARGET% &&
cargo build --target %TARGET% --release
)
before_deploy:

View file

@ -4,11 +4,12 @@ set -ex
main() {
cross build --target $TARGET
cross build --target $TARGET --release
if [ ! -z $DISABLE_TESTS ]; then
return
fi
cross test --target $TARGET
}
# we don't run the "test phase" when doing deploys