Build NuGet package on AppVeyor

This commit is contained in:
Arseny Kapoulkine
2015-10-18 21:10:45 -07:00
parent a3a9d53860
commit 0fe295aa9c
3 changed files with 14 additions and 1 deletions

View File

@@ -1,5 +1,17 @@
os: Visual Studio 2015 RC
version: "{branch}-{build}"
install:
- ps: (new-object net.webclient).DownloadFile('http://downloads.coapp.org/files/CoApp.Tools.Powershell.msi', 'C:\CoApp.Tools.Powershell.msi')
- ps: Start-Process -FilePath msiexec -ArgumentList /i, 'C:\CoApp.Tools.Powershell.msi', /quiet -Wait
- ps: $env:PSModulePath = $env:PSModulePath + ';C:\Program Files (x86)\Outercurve Foundation\Modules'
- ps: Import-Module CoApp
build_script:
- ps: .\scripts\nuget_build.bat
test_script:
- ps: .\tests\autotest-appveyor.ps1
artifacts:
- path: .\scripts\*.nupkg

View File

@@ -1,7 +1,7 @@
nuget {
nuspec {
id = pugixml;
version: 1.7.0;
version: 1.7.0-appveyor;
authors: {Arseny Kapoulkine};
owners: {Arseny Kapoulkine};

View File

@@ -1,4 +1,5 @@
@echo off
cd %~dp0
"%VS140COMNTOOLS%\VsMSBuildCmd.bat" && ^
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo && ^