-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
27 lines (25 loc) · 949 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
platform:
- x64
environment:
RUST_INSTALL_DIR: C:\Rust
matrix:
- RUST_INSTALL_TRIPLE: i686-pc-windows-msvc
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\vcvars32.bat"
RUST_VERSION: 1.40.0
- RUST_INSTALL_TRIPLE: x86_64-pc-windows-msvc
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\vcvars64.bat"
RUST_VERSION: 1.40.0
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:RUST_INSTALL_TRIPLE}.exe"
- cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /DIR="%RUST_INSTALL_DIR%"
- cmd: CALL "%VCVARS%"
- cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin
- rustc --version
- cargo --version
build: false
test_script:
- cmd: SET RUST_BACKTRACE=full
- cargo test
- cmd: SET "RUSTDOCFLAGS=--cfg disable_faketime"
- cmd: SET "RUSTFLAGS=--cfg disable_faketime"
- cargo test