version: 2.0.{build}
configuration: Release
before_build:
# .net core 1.0.3 with SDK RC4 build 004771
- ps: invoke-webrequest https://go.microsoft.com/fwlink/?LinkID=841686 -OutFile core.exe
- ps: .\core.exe /install /quiet /norestart
build_script:
- ps: dotnet restore
- ps: dotnet build -c Release .\src\StatsdClient
- ps: dotnet build -c Release .\src\Tests
test_script:
- dotnet test .\src\Tests
after_test:
- ps: powershell -File .\update-projectjson.ps1
- ps: dotnet pack -c Release .\src\StatsdClient --output .
artifacts:
- path: StatsdClient.*.nupkg

version: 2.0.{build}
configuration: Release
before_build:
# .net core 1.0.4 with SDK 1.0.1
- ps: invoke-webrequest https://go.microsoft.com/fwlink/?LinkID=843448 -OutFile core.exe
- ps: .\core.exe /install /quiet /norestart
build_script:
- ps: dotnet restore
- ps: dotnet build -c Release .\src\StatsdClient
- ps: dotnet build -c Release .\src\Tests
test_script:
- dotnet test .\src\Tests
after_test:
- ps: powershell -File .\update-projectjson.ps1
- ps: dotnet pack -c Release .\src\StatsdClient --output .
artifacts:
- path: StatsdClient.*.nupkg

Revert "Pin to older .net core"
Revert "Pin to older .net core"

This reverts commit 7946b5b4ddaa6d83fdada3e2fc4215bfb805983d.
