Try another way of building only tags and PRs on appveyor

This commit is contained in:
Max Brunsfeld 2019-01-17 13:44:22 -08:00
parent 64fa721779
commit 06cb829d37

View file

@ -1,5 +1,8 @@
build: false
install:
# Terminate early unless building either a tag or a PR.
- if not defined APPVEYOR_REPO_TAG if not defined APPVEYOR_PULL_REQUEST_NUMBER appveyor exit
# Install rust
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- IF "%PLATFORM%" == "x86" rustup-init -y --default-toolchain stable --default-host i686-pc-windows-msvc