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 14
14
15
15
dist : xenial
16
16
17
- branches :
18
- only :
19
- - master
20
- - develop
21
-
22
17
env :
23
18
matrix :
24
19
- BOGUS_JOB=true
@@ -314,7 +309,8 @@ matrix:
314
309
315
310
install :
316
311
- 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
318
314
- cd boost-root
319
315
- git submodule update --init tools/build
320
316
- 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}
6
6
7
7
shallow_clone : true
8
8
9
- branches :
10
- only :
11
- - master
12
- - develop
13
-
14
9
platform :
15
10
- x64
16
11
@@ -56,7 +51,8 @@ environment:
56
51
57
52
install :
58
53
- 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
60
56
- cd boost-root
61
57
- git submodule update --init tools/build
62
58
- git submodule update --init tools/boost_install
You can’t perform that action at this time.
0 commit comments