environment:
  PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%;C:\Rust\bin'
  RUST_BACKTRACE: 1
  TARGET: x86_64-pc-windows-msvc

install:
  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.23.0-${env:TARGET}.msi"
  - msiexec /passive /i "rust-1.23.0-%TARGET%.msi" ADDLOCAL=Rustc,Cargo,Std INSTALLDIR=C:\Rust
  - rustc -V
  - cargo -V

build: false

test_script:
  - cd webrender_api
  - cargo test --verbose
  - cd ../webrender
  - cargo test --verbose
  - cd ../wrench
  - cargo test --verbose

image: Visual Studio 2017

environment:
  PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%;C:\Rust\bin'
  RUST_BACKTRACE: 1
  TARGET: x86_64-pc-windows-msvc

install:
  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.23.0-${env:TARGET}.msi"
  - msiexec /passive /i "rust-1.23.0-%TARGET%.msi" ADDLOCAL=Rustc,Cargo,Std INSTALLDIR=C:\Rust
  - rustc -V
  - cargo -V

build: false

test_script:
  - cd webrender_api
  - cargo test --verbose
  - cd ../webrender
  - cargo test --verbose
  - cd ../wrench
  - cargo test --verbose
  - cd ../direct-composition
  - cargo build --verbose

Build the direct-composition demo on Appveyor CI
Build the direct-composition demo on Appveyor CI
