build: Don't run Travis CI for wmf/* branches
These test runs don't seem very valuable and take up a lot of slots that could be used for other wikimedia/* repos. Change-Id: I47ff3a31883d02ec6b535e411d92ada92a84aa2f
This commit is contained in:
parent
2c63d57ddd
commit
6dfc09c48b
1 changed files with 4 additions and 7 deletions
11
.travis.yml
11
.travis.yml
|
|
@ -24,16 +24,13 @@ services:
|
||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
# Test changes in master, in Wikimedia's production and in arbitrary
|
# Test changes in master and arbitrary Travis CI branches only.
|
||||||
# Travis CI branches. The latter allows developers to enable Travis
|
# The latter allows developers to enable Travis CI in their GitHub fork of
|
||||||
# CI in their GitHub fork of wikimedia/mediawiki and then push
|
# wikimedia/mediawiki and then push changes they like to test to branches like
|
||||||
# changes they like to test to branches like
|
# "travis-ci/test-this-awesome-change".
|
||||||
# "travis-ci/test-this-awesome-change" without having to mess up the
|
|
||||||
# master and wmf/* branches and their defined meaning.
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- /^travis-ci\/.*$/
|
- /^travis-ci\/.*$/
|
||||||
- /^wmf\/.*$/
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install -qq djvulibre-bin tidy
|
- sudo apt-get install -qq djvulibre-bin tidy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue