Skip to content

Commit 257528f

Browse files
committed
cleanup: use regex to whitelist branches for CI
1 parent 877de56 commit 257528f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.travis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ addons:
1818
branches:
1919
only:
2020
- master
21-
- 5.0.x
22-
- 5.1.x
23-
- 5.2.x
24-
- 6.0.x
25-
- 6.1.x
26-
- 6.2.x
27-
- 6.3.x
21+
# 5.2.x, 6.0.x, etc
22+
- /\d+\.\d+\.x/
23+
# 5.x, 6.x, etc
24+
- /\d+\.x/
2825

2926
jobs:
3027
include:

0 commit comments

Comments
 (0)