1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00

Use sh installer instead of python one (denoland/deno_std#148)

Original: d1a9605e53
This commit is contained in:
Mark Tiedemann 2019-01-23 22:41:44 +01:00 committed by Ryan Dahl
parent b13b2cd883
commit d8c99059ec

View file

@ -7,7 +7,7 @@ jobs:
pool: pool:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-16.04'
steps: steps:
- script: curl -L https://deno.land/x/install/install.py | python - $(DENO_VERSION) - script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION)
- script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/' - script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/'
- script: deno test.ts --allow-run --allow-net --allow-write - script: deno test.ts --allow-run --allow-net --allow-write
@ -15,7 +15,7 @@ jobs:
pool: pool:
vmImage: 'macOS-10.13' vmImage: 'macOS-10.13'
steps: steps:
- script: curl -L https://deno.land/x/install/install.py | python - $(DENO_VERSION) - script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION)
- script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/' - script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/'
- script: deno test.ts --allow-run --allow-net --allow-write - script: deno test.ts --allow-run --allow-net --allow-write
@ -23,6 +23,6 @@ jobs:
pool: pool:
vmImage: 'vs2017-win2016' vmImage: 'vs2017-win2016'
steps: steps:
- powershell: iwr https://deno.land/x/install/install.ps1 -Outfile 'install.ps1'; ./install.ps1 $(DENO_VERSION) - powershell: iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 $(DENO_VERSION)
- script: echo '##vso[task.prependpath]C:\Users\VssAdministrator\.deno\bin\' - script: echo '##vso[task.prependpath]C:\Users\VssAdministrator\.deno\bin\'
- script: 'C:\Users\VssAdministrator\.deno\bin\deno.exe test.ts --allow-run --allow-net --allow-write' - script: 'C:\Users\VssAdministrator\.deno\bin\deno.exe test.ts --allow-run --allow-net --allow-write'