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:
Timo Tijhof 2015-09-30 16:07:47 -07:00
parent 2c63d57ddd
commit 6dfc09c48b

View file

@ -24,16 +24,13 @@ services:
- mysql
branches:
# Test changes in master, in Wikimedia's production and in arbitrary
# Travis CI branches. The latter allows developers to enable Travis
# CI in their GitHub fork of wikimedia/mediawiki and then push
# changes they like to test to branches like
# "travis-ci/test-this-awesome-change" without having to mess up the
# master and wmf/* branches and their defined meaning.
# Test changes in master and arbitrary Travis CI branches only.
# The latter allows developers to enable Travis CI in their GitHub fork of
# wikimedia/mediawiki and then push changes they like to test to branches like
# "travis-ci/test-this-awesome-change".
only:
- master
- /^travis-ci\/.*$/
- /^wmf\/.*$/
before_install:
- sudo apt-get install -qq djvulibre-bin tidy