Use Appveyor for CI on Windows
This commit is contained in:
parent
6b0dec58fa
commit
effa440906
2 changed files with 23 additions and 0 deletions
|
@ -2,6 +2,7 @@ zip-rs
|
|||
======
|
||||
|
||||
[](https://travis-ci.org/mvdnes/zip-rs)
|
||||
[](https://ci.appveyor.com/project/mvdnes/zip-rs/branch/master)
|
||||
[](https://crates.io/crates/zip)
|
||||
|
||||
[Documentation](http://mvdnes.github.io/rust-docs/zip-rs/zip/index.html)
|
||||
|
|
22
appveyor.yml
Normal file
22
appveyor.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
environment:
|
||||
matrix:
|
||||
- RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
|
||||
RUST_CHANNEL: stable
|
||||
- RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu
|
||||
RUST_CHANNEL: stable
|
||||
|
||||
install:
|
||||
- ps: Start-FileDownload "http://static.rust-lang.org/dist/channel-rust-${env:RUST_CHANNEL}"
|
||||
- ps: $env:RUST_INSTALLER = Select-String "${env:RUST_INSTALL_TRIPLE}.*exe" "channel-rust-${env:RUST_CHANNEL}" | select -exp line
|
||||
- ps: Start-FileDownload "http://static.rust-lang.org/dist/${env:RUST_INSTALLER}"
|
||||
- '%RUST_INSTALLER% /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"'
|
||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
|
||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
||||
- SET PATH=%PATH%;C:\MinGW\bin
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
|
||||
build: false
|
||||
|
||||
test_script:
|
||||
- cargo test
|
Loading…
Add table
Reference in a new issue