浏览代码

#712 Update appveyor [skip travis]

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Uilian Ries 6 年之前
父节点
当前提交
1f24e4bb22
共有 1 个文件被更改,包括 15 次插入1 次删除
  1. 15 1
      appveyor.yml

+ 15 - 1
appveyor.yml

@@ -6,13 +6,27 @@ build:
 
 
 skip_commits:
-  # Builds just testing something on Travis CI don't need to be 
+  # Builds just testing something on Travis CI don't need to be
   # done on AppVeyor
   message: /\[Travis\]/
   # Dont build, if only documentation was changed
   files:
   - '**/*.md'
 
+environment:
+  PYTHON: "C:\\Python37"
+  matrix:
+    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+      CONAN_VISUAL_VERSIONS: 12
+    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+      CONAN_VISUAL_VERSIONS: 14
+    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+      CONAN_VISUAL_VERSIONS: 15
+  install:
+    - set PATH=%PATH%;%PYTHON%/Scripts/
+    - pip.exe install conan conan_package_tools
+  test_script:
+    - python build.py
 
 environment:
   enable_cxx: NO