Add feature branch testing, matrix to Appveyor

This commit is contained in:
Peter Dimov
2017-06-18 03:32:32 +03:00
parent c1d72af0a4
commit aef27128f2
2 changed files with 21 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2016 Peter Dimov # Copyright 2016, 2017 Peter Dimov
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) # (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
# Copyright 2016 Peter Dimov # Copyright 2016, 2017 Peter Dimov
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) # (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
@@ -10,10 +10,27 @@ branches:
only: only:
- master - master
- develop - develop
- /feature\/.*/
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
TOOLSET: msvc-9.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
TOOLSET: msvc-10.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
TOOLSET: msvc-11.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
TOOLSET: msvc-12.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
TOOLSET: msvc-14.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: msvc-14.1
install: install:
- set BOOST_BRANCH=develop
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
- cd .. - cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root - git clone -b %BOOST_BRANCH% https://github.com/boostorg/boost.git boost-root
- cd boost-root - cd boost-root
- git submodule init libs/align - git submodule init libs/align
- git submodule init libs/assert - git submodule init libs/assert
@@ -38,4 +55,4 @@ install:
build: off build: off
test_script: test_script:
- b2 libs/smart_ptr/test toolset=msvc-9.0,msvc-10.0,msvc-11.0,msvc-14.0 - b2 libs/system/test toolset=%TOOLSET%