image: Visual Studio 2017
environment:
  FORCE_COLOR: 1
  nodejs_version: "8"
  matrix:
  - TYPESCRIPT: typescript@2.7.0-rc
  - TYPESCRIPT: typescript@next
  - TYPESCRIPT: typescript@2.6.1
  - TYPESCRIPT: typescript@2.5.2
  - TYPESCRIPT: typescript@2.4.1
  - TYPESCRIPT: typescript@2.3.1
  - TYPESCRIPT: typescript@2.2.1
  - TYPESCRIPT: typescript@2.1.5
  - TYPESCRIPT: typescript@2.0.9
install:
  - ps: Install-Product node $env:nodejs_version
  - yarn install
  - yarn build
  - yarn add %TYPESCRIPT%
test_script:
  - node --version
  - yarn --version
  - yarn test
build: off
