From 081ca76d6cf19c6ddccc72933e002a37ee3cbde1 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 6 Nov 2017 15:10:55 +0200 Subject: [PATCH] Update Travis and Appveyor --- .travis.yml | 3 ++- appveyor.yml | 40 ++++++++++++++++------------------------ 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddaf584..5998f2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ matrix: - g++-4.8 sources: - ubuntu-toolchain-r-test + - os: linux compiler: g++-4.9 env: TOOLSET=gcc COMPILER=g++-4.9 CXXSTD=03,11 @@ -195,7 +196,7 @@ install: script: - |- echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam - - ./b2 libs/core/test toolset=$TOOLSET cxxstd=$CXXSTD + - ./b2 -j 3 libs/core/test toolset=$TOOLSET cxxstd=$CXXSTD notifications: email: diff --git a/appveyor.yml b/appveyor.yml index 4610b1b..f652c05 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,49 +10,40 @@ branches: only: - master - develop + - /feature\/.*/ environment: 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 + TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 ADDPATH: C:\cygwin\bin; TOOLSET: gcc - CXXFLAGS: cxxflags=-std=c++03 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - ADDPATH: C:\cygwin\bin; - TOOLSET: gcc - CXXFLAGS: cxxflags=-std=c++11 + CXXSTD: 03,11 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 ADDPATH: C:\mingw\bin; TOOLSET: gcc - CXXFLAGS: cxxflags=-std=c++03 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - ADDPATH: C:\mingw\bin; - TOOLSET: gcc - CXXFLAGS: cxxflags=-std=c++11 + CXXSTD: 03,11 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin; TOOLSET: gcc - CXXFLAGS: cxxflags=-std=c++03 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin; - TOOLSET: gcc - CXXFLAGS: cxxflags=-std=c++11 + CXXSTD: 03,11 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 TOOLSET: msvc-14.0 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 TOOLSET: msvc-14.1 + CXXSTD: 14,17 install: + - set BOOST_BRANCH=develop + - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master - 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 - git submodule init libs/assert - git submodule init libs/config @@ -69,4 +60,5 @@ build: off test_script: - PATH=%ADDPATH%%PATH% - - b2 libs/core/test toolset=%TOOLSET% %CXXFLAGS% + - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD% + - b2 -j 3 libs/core/test toolset=%TOOLSET% %CXXSTD%