You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
787 B

image: Visual Studio 2017
build_script:
- ps: >-
[xml]$doc = (Get-Content .\TMDbLib\TMDbLib.csproj)
$version = $doc.Project.PropertyGroup.VersionPrefix
Update-AppveyorBuild -Version "$version build $env:APPVEYOR_BUILD_NUMBER"
- ps: # Core
- ps: msbuild /t:Restore
- ps: # Build Library
- ps: msbuild /t:Build /p:Configuration=Release TMDbLib
- ps: # Library
- ps: msbuild /t:Pack /p:Configuration=Release /p:OutputPath=..\Nuget\ TMDbLib
- ps: # Test app
- ps: msbuild /t:Build /p:Configuration=Release TestApplication
- ps: # Tests
- ps: msbuild /t:Build /p:Configuration=Release TMDbLibTests
test: off
artifacts:
- path: Nuget\*.nupkg
deploy:
- provider: NuGet
api_key:
secure: dgfUEGXULcqCTyNcS6UEDK8BCBi8y+M2+d4IFjnb3Gf9DqV34fMSp1XjxJg2AVRC
on:
branch: nuget