Limit Travis runs to master and PRs.

This commit is contained in:
Jacob Hoffman-Andrews
2015-10-10 13:31:35 -07:00
parent 53d532cfe3
commit 84418516c9
+9
View File
@@ -21,6 +21,15 @@ env:
- TOXENV=lint
- TOXENV=cover
# Only build pushes to the master branch, PRs, and branches beginning with
# `test-`. This reduces the number of simultaneous Travis runs, which speeds
# turnaround time on review since there is a cap of 5 simultaneous runs.
branches:
only:
- master
- /^test-.*$/
sudo: false # containers
addons:
# make sure simplehttp simple verification works (custom /etc/hosts)