diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-05-05 13:43:53 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-05-05 23:10:12 +0100 |
commit | fd2bb77923b68ec50e4812c9663eab42314d4557 (patch) | |
tree | b5d17523c24b8fa269b94781f87828423335ac72 | |
parent | 48bd200acbf4b4d8f3fa241373477b3a21001d17 (diff) |
chore: Don't build pushes to branches, only to tags.
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 93192a6f..95142d4b 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -84,3 +84,7 @@ notifications: | |||
84 | template: | 84 | template: |
85 | - "%{result} %{repository_name} %{build_url}" | 85 | - "%{result} %{repository_name} %{build_url}" |
86 | - "#%{build_number} changes: %{compare_url}" | 86 | - "#%{build_number} changes: %{compare_url}" |
87 | |||
88 | # Only build pull requests and releases, don't build master on pushes, | ||
89 | # except through api or cron. | ||
90 | if: type IN (pull_request, api, cron) OR tag IS present | ||