---
version: "{build}"
branches:
  only:
    - master
clone_depth: 10
install:
  - ps: ((New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt', "$env:TMP\ca-bundle.crt"))
  - ps: $env:SSL_CERT_FILE = "$env:TMP\ca-bundle.crt"
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - ruby --version
  - gem --version
build: off
test_script:
  - rake -rdevkit test

environment:
  matrix:
    - ruby_version: "193"
    - ruby_version: "200"
    - ruby_version: "200-x64"
    - ruby_version: "21"
    - ruby_version: "21-x64"

---
version: "{build}"
branches:
  only:
    - master
clone_depth: 10
install:
  - ps: ((New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt', "$env:TMP\ca-bundle.crt"))
  - SET SSL_CERT_FILE="%TMP%\ca-bundle.crt"
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - ruby --version
  - gem --version
build: off
test_script:
  - rake -rdevkit test

environment:
  matrix:
    - ruby_version: "193"
    - ruby_version: "200"
    - ruby_version: "200-x64"
    - ruby_version: "21"
    - ruby_version: "21-x64"

Set env variable in cmd and not PowerShell
Set env variable in cmd and not PowerShell

Seems setting the variable inside PowerShell was not shared on
regular `cmd.exe` process (which is expected, doh).

[ci skip]
