Browse Source

Fix CIs

index-subcmd
Vincent Prouillet 6 years ago
parent
commit
fb6e3bd5cc
2 changed files with 1 additions and 10 deletions
  1. +1
    -8
      appveyor.yml
  2. +0
    -2
      ci/script.sh

+ 1
- 8
appveyor.yml View File

@@ -34,18 +34,11 @@ before_deploy:


deploy: deploy:
artifact: /.*\.zip/ 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: auth_token:
secure: YCRPSTItx+m/3jnDfai52dEZNLYUTSEExF2lZoffULDzlv/t2jOR1fzSSIEi/xyB secure: YCRPSTItx+m/3jnDfai52dEZNLYUTSEExF2lZoffULDzlv/t2jOR1fzSSIEi/xyB
description: '' description: ''
on: 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 appveyor_repo_tag: true
provider: GitHub provider: GitHub




+ 0
- 2
ci/script.sh View File

@@ -4,14 +4,12 @@ set -ex


# TODO This is the "test phase", tweak it as you see fit # TODO This is the "test phase", tweak it as you see fit
main() { main() {
cross build --target $TARGET
cross build --target $TARGET --release cross build --target $TARGET --release


if [ ! -z $DISABLE_TESTS ]; then if [ ! -z $DISABLE_TESTS ]; then
return return
fi fi


cross test --all --target $TARGET
cross test --all --target $TARGET --release cross test --all --target $TARGET --release
} }




Loading…
Cancel
Save