branches:
    only:
      - master

environment:
  VisualStudioVersion: 12.0
  matrix:
  - target: x86_64-pc-windows-msvc
    channel: stable
  - target: i686-pc-windows-msvc
    channel: stable
  - target: x86_64-pc-windows-msvc
    channel: beta
  - target: i686-pc-windows-msvc
    channel: beta
  - target: x86_64-pc-windows-msvc
    channel: nightly
  - target: i686-pc-windows-msvc
    channel: nightly

install:
  - ps: .\install-rust.ps1

build: false

test_script:
  - cargo test

branches:
    only:
      - master
environment:
  VisualStudioVersion: 12.0
  matrix:
  - target: x86_64-pc-windows-msvc
    VCVARS: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat"'
    channel: stable
  - target: i686-pc-windows-msvc
    VCVARS: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"'
    channel: stable
  - target: x86_64-pc-windows-msvc
    VCVARS: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat"'
    channel: beta
  - target: i686-pc-windows-msvc
    VCVARS: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"'
    channel: beta
  - target: x86_64-pc-windows-msvc
    VCVARS: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat"'
    channel: nightly
  - target: i686-pc-windows-msvc
    VCVARS: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"'
    channel: nightly
install:
  - ps: .\install-rust.ps1
  - call %VCVARS%

build: false

test_script:
  - cargo test

Set MSVC compiler environment variables
Set MSVC compiler environment variables
