From cf904d9f9fb18fd2982651946125db62066c3ff5 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 28 May 2019 10:02:30 +0900 Subject: Avoid doubly building Travis and AppVeyor but on "master" branch. For Pull Request, I changed the approach from d9b338a53f520b2dbb05555f18b8de8072300f40 and 277e68825a8e4d0e6503a32e41f8b1b6c078b567. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 2d6ea862e1..6e1d15e741 100644 --- a/.travis.yml +++ b/.travis.yml @@ -438,8 +438,9 @@ script: # Branch matrix. Not all branches are Travis-ready so we limit branches here. branches: only: - - master - - trunk # for pull request. TODO: use `fork = true` or something. + # Because default branch is still "trunk", we build only "trunk" to avoid + # doubly building on master and trigger CI on Pull Request. + - trunk # TODO: s/master/trunk/ when the default branch is switched to master on 7/1. - ruby_2_4 - ruby_2_5 - ruby_2_6 -- cgit v1.2.3