Browse Source

Merge pull request #9 from japaric/appveyor

CI: AppVeyor
Jorge Aparicio 8 years ago
parent
commit
255cde510d
1 changed files with 23 additions and 0 deletions
  1. 23 0
      appveyor.yml

+ 23 - 0
appveyor.yml

@@ -0,0 +1,23 @@
+environment:
+  matrix:
+    - TARGET: i686-pc-windows-msvc
+    - TARGET: x86_64-pc-windows-msvc
+
+install:
+  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
+  - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
+  - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
+  - rustc -Vv
+  - cargo -V
+
+build: false
+
+test_script:
+  - cargo build
+  - cargo build --release
+  - cargo test
+  - cargo test --release
+
+branches:
+  only:
+    - master