forked from DiscUtils/DiscUtils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
23 lines (21 loc) · 919 Bytes
/
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
image: Visual Studio 2017
build_script:
- ps: >-
[xml]$doc = (Get-Content .\Library\DiscUtils.Core\DiscUtils.Core.csproj)
$version = $doc.Project.PropertyGroup.VersionPrefix
Update-AppveyorBuild -Version "$version build $env:APPVEYOR_BUILD_NUMBER"
- cmd: REM Build
- cmd: msbuild /t:Build /p:Configuration=Release /p:IncludeSymbols=True /Verbosity:Minimal /p:VersionSuffix=alpha%APPVEYOR_BUILD_NUMBER%
test_script:
- cmd: cd Tests\LibraryTests\bin\Release\netcoreapp1.1
- cmd: dotnet test ..\..\..\LibraryTests.csproj -c Release --no-build --logger:trx -- RunConfiguration.TargetPlatform="x64" RunConfiguration.DisableParallelization="true"
install:
- msbuild /t:Restore /Verbosity:Minimal /p:VersionSuffix=alpha%APPVEYOR_BUILD_NUMBER%
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: dgfUEGXULcqCTyNcS6UEDK8BCBi8y+M2+d4IFjnb3Gf9DqV34fMSp1XjxJg2AVRC
on:
branch: nuget