This commit is contained in:
Vincent Prouillet 2018-08-03 22:34:56 +02:00
parent 8fcb4c3ae6
commit fb6e3bd5cc
2 changed files with 1 additions and 10 deletions

View file

@ -34,18 +34,11 @@ before_deploy:
deploy:
artifact: /.*\.zip/
# TODO update `auth_token.secure`
# - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new
# - Encrypt it. Go to https://ci.appveyor.com/tools/encrypt
# - Paste the output down here
auth_token:
secure: YCRPSTItx+m/3jnDfai52dEZNLYUTSEExF2lZoffULDzlv/t2jOR1fzSSIEi/xyB
description: ''
on:
# In this example, there are some targets that are tested using the stable
# and nightly channels. This condition makes sure there is only one release
# for such targets and that's generated using the stable channel
RUST_VERSION: 1.25.0
RUST_VERSION: stable
appveyor_repo_tag: true
provider: GitHub

View file

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