mirror of
https://github.com/danbulant/deno_install
synced 2026-07-06 19:50:48 +00:00
Add appveyor test for powershell based installer
This commit is contained in:
parent
4d3cede60c
commit
1ee6b0a2bb
1 changed files with 26 additions and 6 deletions
|
|
@ -1,11 +1,31 @@
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
- PYTHON: "C:\\Python27"
|
- TYPE: powershell
|
||||||
- PYTHON: "C:\\Python33"
|
- TYPE: python
|
||||||
|
PYTHON_DIR: "C:\\Python27"
|
||||||
|
- TYPE: python
|
||||||
|
PYTHON_DIR: "C:\\Python33"
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
for:
|
||||||
- "%PYTHON%\\python.exe install.py"
|
- matrix:
|
||||||
- "%PYTHON%\\python.exe install_test.py"
|
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"
|
||||||
Loading…
Reference in a new issue