Build NuGet package on AppVeyor
This commit is contained in:
parent
a3a9d53860
commit
0fe295aa9c
12
appveyor.yml
12
appveyor.yml
@ -1,5 +1,17 @@
|
|||||||
os: Visual Studio 2015 RC
|
os: Visual Studio 2015 RC
|
||||||
version: "{branch}-{build}"
|
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:
|
build_script:
|
||||||
|
- ps: .\scripts\nuget_build.bat
|
||||||
|
|
||||||
|
test_script:
|
||||||
- ps: .\tests\autotest-appveyor.ps1
|
- ps: .\tests\autotest-appveyor.ps1
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: .\scripts\*.nupkg
|
||||||
@ -1,7 +1,7 @@
|
|||||||
nuget {
|
nuget {
|
||||||
nuspec {
|
nuspec {
|
||||||
id = pugixml;
|
id = pugixml;
|
||||||
version: 1.7.0;
|
version: 1.7.0-appveyor;
|
||||||
|
|
||||||
authors: {Arseny Kapoulkine};
|
authors: {Arseny Kapoulkine};
|
||||||
owners: {Arseny Kapoulkine};
|
owners: {Arseny Kapoulkine};
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
cd %~dp0
|
||||||
|
|
||||||
"%VS140COMNTOOLS%\VsMSBuildCmd.bat" && ^
|
"%VS140COMNTOOLS%\VsMSBuildCmd.bat" && ^
|
||||||
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo && ^
|
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo && ^
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user