Run tests during CI
This commit is contained in:
parent
6cc9b86ca5
commit
584065f8d7
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue