summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-28 10:02:30 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-28 10:02:31 +0900
commitcf904d9f9fb18fd2982651946125db62066c3ff5 (patch)
treebb010e8dc9b0a7827fe8e76fa804ac5ed2f12bdf /.travis.yml
parent1cdaa17a065c529354fa9bcb4a1f3001783900ef (diff)
Avoid doubly building Travis and AppVeyor
but on "master" branch. For Pull Request, I changed the approach from d9b338a53f520b2dbb05555f18b8de8072300f40 and 277e68825a8e4d0e6503a32e41f8b1b6c078b567.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
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