add appveyor support

This commit is contained in:
Nikolay Kim 2017-07-26 18:40:32 -07:00
parent 139a31b1e4
commit 268fe2a43c
1 changed files with 15 additions and 0 deletions

15
appveyor.yml Normal file
View File

@ -0,0 +1,15 @@
version: 0.2.{build}
environment:
TARGET: x86_64-pc-windows-msvc
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.msi"
- start /wait msiexec /i rust-nightly-%TARGET%.msi INSTALLDIR="%CD%\rust-nightly-%TARGET%" /quiet /qn /norestart
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
- set PATH=%PATH%;%CD%/rust-nightly-%TARGET%/bin
- SET PATH=%PYTHONPATH%;%PATH%
- rustc -V
- cargo -V
- python --version
test_script:
- set PATH=C:\Python27-x64;%PATH%&& cargo test --verbose --features python2
- set PATH=C:\Python34-x64;%PATH%&& cargo test --verbose --features python3