travis: Only build pushes on master, PRs to master and tags

This avoids duplicate builds for PRs of branches for the origin repository (e.g.
from dependabot).
This commit is contained in:
Claudio Bley 2018-12-29 16:32:19 +01:00
parent 9c266c9fda
commit d3541c1afc

View file

@ -1,3 +1,7 @@
conditions: v1
if: branch = master OR tag IS present
language:
ruby