Skip to content

Commit

Permalink
let's try annotated tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Oct 14, 2016
1 parent 08717a3 commit 685a5e0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ install:
build: false

test_script:
# TODO releases -> master
- if [%APPVEYOR_REPO_BRANCH%]==releases (
if [%APPVEYOR_REPO_TAG%]==[true] (
cargo rustc --target %TARGET% --release --bin hello -- -C lto)
)
) else (
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo build --target %TARGET% &&
cargo build --target %TARGET% --release &&
cargo test --target %TARGET% &&
cargo test --target %TARGET% --release)
) else (
cargo rustc --target %TARGET% --release --bin hello -- -C lto)
)

before_deploy:
Expand All @@ -55,9 +52,7 @@ cache:

branches:
only:
# Release tags
- /^v\d+\.\d+\.\d+.*$/
- auto
# Releases only
- master
- try
# TODO remove. For testing only
- releases

0 comments on commit 685a5e0

Please sign in to comment.