travis.yml: only build the master branch.

This avoid two weird things:

- scary messages when building tags fails
- two builds being run instead of one when people create a PR and a
  branch on the Homebrew/brew repo (rather than their fork).
This commit is contained in:
Mike McQuaid 2017-08-05 17:09:32 +01:00
parent c26c9204fa
commit df0abe08b2

View File

@ -4,7 +4,9 @@ cache:
- $HOME/.gem/ruby - $HOME/.gem/ruby
- $HOME/Library/Caches/Homebrew/style - $HOME/Library/Caches/Homebrew/style
- $HOME/Library/Caches/Homebrew/tests - $HOME/Library/Caches/Homebrew/tests
branches:
only:
- master
matrix: matrix:
fast_finish: true fast_finish: true
include: include: