deno_install/.appveyor.yml
2018-09-12 13:53:07 -07:00

31 lines
No EOL
760 B
YAML

environment:
matrix:
- TYPE: powershell
- TYPE: python
PYTHON_DIR: "C:\\Python27"
- TYPE: python
PYTHON_DIR: "C:\\Python33"
build: off
for:
- matrix:
only:
- TYPE: powershell
install:
- ps: $url = "https://raw.githubusercontent.com", $env:APPVEYOR_REPO_NAME,
$env:APPVEYOR_REPO_COMMIT, "install.ps1" -join "/"
- ps: iex (iwr $url)
test_script:
- ps: if (-not (Test-Path "~\.deno\bin\deno.exe")) {
throw "deno.exe not found in expected location"
}
- ps: deno --help
- matrix:
only:
- TYPE: python
install:
- "%PYTHON_DIR%\\python.exe install.py"
test_script:
- "%PYTHON_DIR%\\python.exe install_test.py"