os: Visual Studio 2015
matrix:
fast_finish: true
environment:
matrix:
- channel: 1.33.0
target: i686-pc-windows-msvc
- channel: 1.33.0
target: x86_64-pc-windows-msvc
install:
- if %target%==i686-pc-windows-msvc cp win32-devel-files\VC\lib\x86\SDL2.dll .
- if %target%==i686-pc-windows-msvc dir *.dll
- if %target%==x86_64-pc-windows-msvc cp win32-devel-files\VC\lib\x64\SDL2.dll .
- if %target%==x86_64-pc-windows-msvc dir *.dll
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -y --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build: false
test_script:
- cargo build
- cargo test
- cargo clean
- cargo build --no-default-features --features="link_static"
- cargo test --no-default-features --features="link_static"
- cargo clean