chore: use regex to whitelist branches for CI (#12439)

This commit is contained in:
mmalerba
2018-07-31 09:03:53 -07:00
committed by Jeremy Elbourn
parent 2ffdae6c80
commit 37ba893ee0
2 changed files with 8 additions and 7 deletions
+4
View File
@@ -69,3 +69,7 @@ general:
branches:
only:
- master
# 5.2.x, 6.0.x, etc
- /\d+\.\d+\.x/
# 5.x, 6.x, etc
- /\d+\.x/
+4 -7
View File
@@ -18,13 +18,10 @@ addons:
branches:
only:
- master
- 5.0.x
- 5.1.x
- 5.2.x
- 6.0.x
- 6.1.x
- 6.2.x
- 6.3.x
# 5.2.x, 6.0.x, etc
- /\d+\.\d+\.x/
# 5.x, 6.x, etc
- /\d+\.x/
jobs:
include: