34 lines
839 B
YAML
34 lines
839 B
YAML
configuration: Release
|
|
version: 1.0.{build}
|
|
nuget:
|
|
account_feed: true
|
|
project_feed: true
|
|
artifacts:
|
|
- path: 'src\**\*.nupkg'
|
|
|
|
init:
|
|
- git config --global core.autocrlf true
|
|
|
|
before_build:
|
|
- ps: invoke-webrequest https://go.microsoft.com/fwlink/?LinkID=827524 -OutFile core.exe
|
|
- ps: .\core.exe /install /quiet /norestart
|
|
|
|
build_script:
|
|
- ps: dotnet restore
|
|
- ps: dotnet build -c Release .\src\UriBuilder.Fluent
|
|
- ps: dotnet build -c Release .\src\UriBuilder.Fluent.UnitTests
|
|
- ps: .\update-projectjson.ps1
|
|
- ps: dotnet restore
|
|
- ps: dotnet pack -c Release .\src\UriBuilder.Fluent
|
|
|
|
|
|
test_script:
|
|
- ps: dotnet test -c Release .\src\UriBuilder.Fluent.UnitTests
|
|
- ps: .\Coverage.ps1
|
|
|
|
deploy:
|
|
- provider: NuGet
|
|
api_key:
|
|
secure: QuVcKEvDkLsmdemVpoGBXiTymN46CzvczrDpTHNf1+tTIjOGufptGDmBD9r5LVtn
|
|
on:
|
|
appveyor_repo_tag: true |