2017-06-15 11:49:10 +03:00
|
|
|
image:
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2017
|
2017-06-15 11:14:28 +03:00
|
|
|
|
2015-04-13 20:38:52 -07:00
|
|
|
version: "{branch}-{build}"
|
2015-04-13 20:03:49 -07:00
|
|
|
|
2015-10-18 21:10:45 -07:00
|
|
|
install:
|
2016-03-27 20:51:54 -07:00
|
|
|
- ps: (new-object net.webclient).DownloadFile('http://coapp.org/files/CoApp.Tools.Powershell.msi', 'C:\CoApp.Tools.Powershell.msi')
|
2015-10-18 21:10:45 -07:00
|
|
|
- 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
|
|
|
|
|
2015-04-13 20:03:49 -07:00
|
|
|
build_script:
|
2017-06-15 11:49:10 +03:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017"){.\scripts\nuget_build.ps1}
|
2015-10-18 21:10:45 -07:00
|
|
|
|
|
|
|
test_script:
|
2017-06-15 11:49:10 +03:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015"){.\tests\autotest-appveyor.ps1}
|
2015-10-18 21:10:45 -07:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: .\scripts\*.nupkg
|