Skip to content

Commit 249d480

Browse files
Merge #3359
3359: ci: allow all branches except trying.tmp and staging.tmp to be built r=phansch a=matthiaskrgr r? @flip1995 The problem was that with the current configuration, if I made a branch `feature1` and pushed it to travis to have it checked before making a PR, travis would skip it because it only built the 3 branches that were specified when setting up bors. The change allows all branch names to be build by default again, except for travis.tmp. The gh-pages branch is skipped as per travis-ci defaults: https://docs.travis-ci.com/user/customizing-the-build/#safelisting-or-blocklisting-branches Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
2 parents 4a7601b + 9e15791 commit 249d480

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.travis.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ os:
1010
sudo: false
1111

1212
branches:
13-
only:
14-
# This is where pull requests from "bors r+" are built.
15-
- staging
16-
# This is where pull requests from "bors try" are built.
17-
- trying
18-
# Also build pull requests.
19-
- master
13+
# Don't build these branches
14+
except:
15+
# Used by bors
16+
- trying.tmp
17+
- staging.tmp
2018

2119
env:
2220
global:

appveyor.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ environment:
66
#- TARGET: i686-pc-windows-msvc
77
#- TARGET: x86_64-pc-windows-gnu
88
- TARGET: x86_64-pc-windows-msvc
9-
9+
1010
branches:
11-
only:
12-
# This is where pull requests from "bors r+" are built.
13-
- staging
14-
# This is where pull requests from "bors try" are built.
15-
- trying
16-
# Also build pull requests.
17-
- master
18-
11+
# Don't build these branches
12+
except:
13+
# Used by bors
14+
- trying.tmp
15+
- staging.tmp
16+
1917
install:
2018
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
2119
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly

0 commit comments

Comments
 (0)