diff options
author | Jan-Erik Rediger <janerik@fnordig.de> | 2019-07-10 14:52:02 +0200 |
---|---|---|
committer | Jan-Erik Rediger <janerik@fnordig.de> | 2019-07-10 14:52:02 +0200 |
commit | 41be0072ed9d5a55ccc55c2a817d6fc0f68ae9ba (patch) | |
tree | 74b70acca83f66974eb7fbcc86a196553058527a | |
parent | 33f01dbef9aa7898e3f6bcbfe7e81d9a8d5e1605 (diff) |
Run tests during CI
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | ci/script.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index aed20fb..e77cfb1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/ci/script.sh b/ci/script.sh index fbb981a..e61e155 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -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 |