Use CLI obtain script to install on AppVeyor

This commit is contained in:
Andrew Schwartzmeyer
2016-02-17 14:20:15 -08:00
parent 36bc1279a2
commit 1436668fd1
+3 -3
View File
@@ -14,11 +14,11 @@ install:
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
- git config --global url.git@github.com:.insteadOf https://github.com/
- git submodule update --init --recursive -- src/monad src/windows-build src/Microsoft.PowerShell.Linux.Host/Modules/Pester
- ps: Invoke-WebRequest -Uri https://dotnetcli.blob.core.windows.net/dotnet/dev/Binaries/Latest/dotnet-win-x64.latest.zip -OutFile dotnet.zip
- 7z x dotnet.zip -odotnet > nul
- ps: Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1
- ps: ./install.ps1 -version "1.0.1.001186"
build_script:
- ps: Set-Alias -Name dotnet -Value "$pwd\dotnet\bin\dotnet.exe"
- ps: $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli\bin"
- ps: dotnet restore
- ps: .\build.ps1
- ps: .\build.fullCLR.ps1