summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-10-24 14:49:25 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-24 15:31:00 +0100
commit480d98c91f32da5127b695047b912b889d0b9dc2 (patch)
tree7f0eea4a670da08a3bb55122d7e7d176fd4ac911
parentreduce git clone depth (diff)
downloadsynapse-480d98c91f32da5127b695047b912b889d0b9dc2.tar.xz
Disable newsfragment checks on branch builds
Diffstat (limited to '')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5b6fc47cee..107b3ab70b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,7 +53,9 @@ matrix:
   - python: 3.6
     env: TOX_ENV=check_isort
 
-  - python: 3.6
+  - # we only need to check for the newsfragment if it's a PR build
+    if: type = pull_request
+    python: 3.6
     env: TOX_ENV=check-newsfragment
 
 install: