mirror of https://github.com/TryGhost/Ghost.git
Fixed double builds in Travis
no issue - Travis builds were being run twice on a PR: once for the PR and once for the branch - this commit whitelists the branches that Travis can run on
This commit is contained in:
parent
97d6e6b98b
commit
e200914dec
|
@ -9,6 +9,10 @@ services:
|
|||
- mysql
|
||||
# Don't run builds for renovate PRs
|
||||
if: NOT head_branch =~ ^renovate
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- 2.x
|
||||
env:
|
||||
matrix:
|
||||
- DB=sqlite3 NODE_ENV=testing
|
||||
|
|
Loading…
Reference in New Issue