mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
Use sh installer instead of python one (#148)
This commit is contained in:
parent
83bb7e99b6
commit
d1a9605e53
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ jobs:
|
|||
pool:
|
||||
vmImage: 'Ubuntu-16.04'
|
||||
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: deno test.ts --allow-run --allow-net --allow-write
|
||||
|
||||
|
@ -15,7 +15,7 @@ jobs:
|
|||
pool:
|
||||
vmImage: 'macOS-10.13'
|
||||
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: deno test.ts --allow-run --allow-net --allow-write
|
||||
|
||||
|
@ -23,6 +23,6 @@ jobs:
|
|||
pool:
|
||||
vmImage: 'vs2017-win2016'
|
||||
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: 'C:\Users\VssAdministrator\.deno\bin\deno.exe test.ts --allow-run --allow-net --allow-write'
|
||||
|
|
Loading…
Reference in a new issue