From d3541c1afcee33c1a0d64bfbf906c53f693346cd Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Sat, 29 Dec 2018 16:32:19 +0100 Subject: [PATCH] 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). --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index d590071..9a858d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +conditions: v1 + +if: branch = master OR tag IS present + language: ruby