environment:
  matrix:
  - TARGET: x86_64-pc-windows-msvc
    VERSION: 1.5.0
  - TARGET: i686-pc-windows-msvc
    VERSION: 1.5.0
  - TARGET: i686-pc-windows-gnu
    VERSION: 1.5.0

install:
  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.exe"
  - rust-%VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
  - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
  - SET PATH=%PATH%;C:\MinGW\bin
  - rustc -V
  - cargo -V

build: false
test_script:
  - cargo test --features all --verbose


environment:
  matrix:
  - TARGET: x86_64-pc-windows-msvc
    VERSION: nightly
  - TARGET: i686-pc-windows-msvc
    VERSION: nightly
  - TARGET: i686-pc-windows-gnu
    VERSION: nightly

install:
  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.exe"
  - rust-%VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
  - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
  - SET PATH=%PATH%;C:\MinGW\bin
  - rustc -V
  - cargo -V

build: false
test_script:
  - cargo test --features all --verbose


Build windows on nightly to work around linker detection issues.
Build windows on nightly to work around linker detection issues.
