From fd2bb77923b68ec50e4812c9663eab42314d4557 Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 5 May 2020 13:43:53 +0100 Subject: chore: Don't build pushes to branches, only to tags. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 93192a6f..95142d4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,3 +84,7 @@ notifications: template: - "%{result} %{repository_name} %{build_url}" - "#%{build_number} changes: %{compare_url}" + +# Only build pull requests and releases, don't build master on pushes, +# except through api or cron. +if: type IN (pull_request, api, cron) OR tag IS present -- cgit v1.2.3