forked from openzipkin/zipkin4net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
32 lines (32 loc) · 1.24 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '{build}'
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
configuration:
- Release
artifacts:
- path: .\artifacts\*.nupkg
name: NuGet
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
before_build:
- appveyor-retry dotnet restore zipkin4net.dotnetcore.sln --verbosity Minimal
build_script:
- dotnet build "zipkin4net.dotnetcore.sln" -c %CONFIGURATION%
after_build:
- dotnet pack /p:PackageVersion="%APPVEYOR_REPO_TAG_NAME%" "Src\zipkin4net\Src\zipkin4net.dotnetcore.csproj" -c %CONFIGURATION% --no-build -o %APPVEYOR_BUILD_FOLDER%\artifacts
- dotnet pack /p:PackageVersion="%APPVEYOR_REPO_TAG_NAME%" "Src\zipkin4net.middleware.aspnetcore\Src\zipkin4net.middleware.aspnetcore.dotnetcore.csproj" -c %CONFIGURATION% --no-build -o %APPVEYOR_BUILD_FOLDER%\artifacts
test_script:
- dotnet test "Src/zipkin4net/Tests/zipkin4net.Tests.dotnetcore.csproj" -c %CONFIGURATION%
- dotnet test "Src/zipkin4net.middleware.owin/Tests/zipkin4net.middleware.owin.Tests.dotnetcore.csproj" -c %CONFIGURATION%
cache:
- '%USERPROFILE%\.nuget\packages'
deploy:
- provider: NuGet
name: production
api_key:
secure: Q+PmM3QKYduzOcG0CdSEEeowv+0H3dUecVOwJE22j7CwgO4W7NCkmb+TPLbPvfII
on:
branch: master
appveyor_repo_tag: true