File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1414
1515dist : xenial
1616
17- branches :
18- only :
19- - master
20- - develop
21-
2217env :
2318 matrix :
2419 - BOGUS_JOB=true
@@ -314,7 +309,8 @@ matrix:
314309
315310install :
316311 - cd ..
317- - git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
312+ - export BRANCH=`echo $TRAVIS_BRANCH | sed '/master/!s/.*/develop/'`
313+ - git clone -b $BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
318314 - cd boost-root
319315 - git submodule update --init tools/build
320316 - git submodule update --init tools/boost_install
Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ version: 1.0.{build}-{branch}
66
77shallow_clone : true
88
9- branches :
10- only :
11- - master
12- - develop
13-
149platform :
1510 - x64
1611
@@ -56,7 +51,8 @@ environment:
5651
5752install :
5853 - cd ..
59- - git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
54+ - if "%APPVEYOR_REPO_BRANCH%" == "master" (set BRANCH=master) else (set BRANCH=develop)
55+ - git clone -b %BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
6056 - cd boost-root
6157 - git submodule update --init tools/build
6258 - git submodule update --init tools/boost_install
You can’t perform that action at this time.
0 commit comments