summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authoranykao <600913@gmail.com>2018-08-30 00:39:51 +0900
committerDavid Peter <sharkdp@users.noreply.github.com>2018-08-31 23:57:27 +0200
commit720a2fb7a5d199321e34391c47f08ac3d7fe1af6 (patch)
tree894e38def659d60d90a1f6e653fdbce84264d784 /appveyor.yml
parente3c990f11e48b7b4df889c4706d54e7f04c9fdfe (diff)
Create appveyor.yml
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..4a072641
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,41 @@
+environment:
+ global:
+ TARGET: x86_64-pc-windows-msvc
+ RUST_VERSION: stable
+ CRATE_NAME: bat
+ CARGO_HOME: "c:\\cargo"
+ RUSTUP_HOME: "c:\\rustup"
+
+install:
+ - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
+ - rustup-init.exe -y --default-host %TARGET%
+ - set PATH=%PATH%;C:\cargo\bin
+ - rustc -Vv
+ - cargo -V
+
+build: false
+
+before_deploy:
+ # Generate artifacts for release
+ - cargo build --release --verbose
+ - ps: ci\before_deploy.ps1
+
+deploy:
+ description: 'Automatically deployed release'
+ artifact: /.*\.zip/
+ auth_token:
+ secure: rqjjigrWMvBgDaONpurfMQvZbFgR6pD8XQGMCfh/UfoDdwJdjEuMYu11tMRxelOR
+ provider: GitHub
+ on:
+ RUST_VERSION: stable
+ appveyor_repo_tag: true
+
+cache:
+ - C:\Users\appveyor\.cargo\registry
+ - target
+
+notifications:
+ - provider: Email
+ on_build_success: false
+ on_build_failure: false
+ on_build_status_changed: false