2015-06-27 13:15:06 +00:00
|
|
|
version: 0.0.{build}
|
|
|
|
environment:
|
2015-06-28 19:46:24 +00:00
|
|
|
TARGET: x86_64-pc-windows-msvc
|
|
|
|
# matrix:
|
|
|
|
# - TARGET: x86_64-pc-windows-msvc
|
|
|
|
# PY: 2
|
|
|
|
# PYTHONPATH: C:\Python27-x64
|
|
|
|
# FEATURES: python27-sys
|
|
|
|
# - TARGET: x86_64-pc-windows-msvc
|
|
|
|
# PY: 3
|
|
|
|
# PYTHONPATH: C:\Python34-x64
|
|
|
|
# FEATURES: python3-sys
|
2015-06-27 13:15:06 +00:00
|
|
|
install:
|
2015-11-11 23:10:56 +00:00
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.msi"
|
2015-11-11 23:09:00 +00:00
|
|
|
- start /wait msiexec /i rust-nightly-%TARGET%.msi INSTALLDIR="%CD%\rust-nightly-%TARGET%" /quiet /qn /norestart
|
2015-06-27 13:15:06 +00:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
|
2015-11-11 23:09:00 +00:00
|
|
|
- set PATH=%PATH%;%CD%/rust-nightly-%TARGET%/bin
|
2015-06-28 19:46:24 +00:00
|
|
|
- SET PATH=%PYTHONPATH%;%PATH%
|
2015-06-27 13:15:06 +00:00
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
2015-06-28 19:46:24 +00:00
|
|
|
- python --version
|
2015-06-27 13:15:06 +00:00
|
|
|
build_script:
|
2015-06-28 19:46:24 +00:00
|
|
|
- set PATH=C:\Python27-x64;%PATH%&& cargo build --verbose --features python27-sys --no-default-features
|
|
|
|
- set PATH=C:\Python34-x64;%PATH%&& cargo build --verbose --features python3-sys --no-default-features
|
2015-06-27 13:15:06 +00:00
|
|
|
test: false
|
|
|
|
#test_script:
|
|
|
|
# - cargo test --verbose
|