diff options
-rw-r--r-- | appveyor.yml | 12 | ||||
-rw-r--r-- | scripts/nuget.autopkg | 2 | ||||
-rw-r--r-- | scripts/nuget_build.bat | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 289c036..3f09dd9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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
\ No newline at end of file diff --git a/scripts/nuget.autopkg b/scripts/nuget.autopkg index 3843ee9..85fc55f 100644 --- a/scripts/nuget.autopkg +++ b/scripts/nuget.autopkg @@ -1,7 +1,7 @@ nuget { nuspec { id = pugixml; - version: 1.7.0; + version: 1.7.0-appveyor; authors: {Arseny Kapoulkine}; owners: {Arseny Kapoulkine}; diff --git a/scripts/nuget_build.bat b/scripts/nuget_build.bat index 807f89a..ab3c984 100644 --- a/scripts/nuget_build.bat +++ b/scripts/nuget_build.bat @@ -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 && ^ |