summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorIvan Gagis <igagis@gmail.com>2017-06-15 11:49:10 +0300
committerIvan Gagis <igagis@gmail.com>2017-06-15 11:49:10 +0300
commitb66ca4f3266d4b092bd358b7227d628fc6cb14fe (patch)
tree500d063206727d8b7773bfb2257decf7dc35c58f /appveyor.yml
parent4dc10541040d9da4389f2a5da62330bab570e8b8 (diff)
use 2 images to build on appveyor
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 20c502b..a42990f 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,4 +1,6 @@
-os: Visual Studio 2017
+image:
+- Visual Studio 2015
+- Visual Studio 2017
version: "{branch}-{build}"
@@ -9,10 +11,10 @@ install:
- ps: Import-Module CoApp
build_script:
- - ps: .\scripts\nuget_build.ps1
+ - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017"){.\scripts\nuget_build.ps1}
test_script:
- - ps: .\tests\autotest-appveyor.ps1
+ - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015"){.\tests\autotest-appveyor.ps1}
artifacts:
- path: .\scripts\*.nupkg \ No newline at end of file