Fix AppVeyor build script

This commit is contained in:
Frederik Carlier
2018-05-22 13:59:05 +02:00
parent 5be1901bdb
commit b76cda7532

View File

@@ -1,15 +1,9 @@
install:
- choco install -y wget
- wget -q https://download.microsoft.com/download/5/F/E/5FEB7E95-C643-48D5-8329-9D2C63676CE8/dotnet-dev-win-x64.1.0.0-rc4-004771.exe
- dotnet-dev-win-x64.1.0.0-rc4-004771.exe /install /quiet /log dotnetinstall.log
- ps: Push-AppveyorArtifact "dotnetinstall.log"
build_script:
- cmd: cd plist-cil
- cmd: dotnet restore
- cmd: dotnet build -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER%
- cmd: dotnet test plist-cil.test\plist-cil.test.csproj
on_success:
- cmd: dotnet pack -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER%
- ps: Push-AppveyorArtifact "bin\Release\plist-cil.1.15.0-r$($env:APPVEYOR_BUILD_NUMBER).nupkg"
- cmd: dotnet pack plist-cil\plist-cil.csproj -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER%
artifacts:
- path: "plist-cil\\bin\\Release\\plist-cil.*.nupkg"