version: 0.1.3-build-{build}
matrix:
fast_finish: true
environment:
PROJECT_NAME: terraform-zap
matrix:
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable
- TARGET: x86_64-pc-windows-msvc
CHANNEL: beta
- TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -vV
- cargo -vV
- if "%TARGET%"=="i686-pc-windows-gnu"
cinst mingw --x86 -y &
set "PATH=%PATH%;C:\tools\mingw32\bin" &
gcc --version
- if "%TARGET%"=="x86_64-pc-windows-gnu"
cinst mingw -y &
set "PATH=%PATH%;C:\tools\mingw64\bin" &
gcc --version
- echo %PATH%
build: off
test_script:
- cargo build --verbose
- cargo test --all
branches:
only:
- master
- /^v\d+\.\d+\.\d+(-\S*)?$/