aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.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 /appveyor.yml
parent1cdaa17a065c529354fa9bcb4a1f3001783900ef (diff)
downloadruby-cf904d9f9fb18fd2982651946125db62066c3ff5.tar.gz
Avoid doubly building Travis and AppVeyor
but on "master" branch. For Pull Request, I changed the approach from d9b338a53f520b2dbb05555f18b8de8072300f40 and 277e68825a8e4d0e6503a32e41f8b1b6c078b567.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 9ecb083b0a..029a0b677a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,10 +3,11 @@ version: '{build}'
shallow_clone: true
platform:
- x64
-## Still allowing trunk branch for pull request. TODO: Skip non-pull-request trunk build.
-# branches:
-# except:
-# - trunk # mirrored master runs CI
+branches:
+ except:
+ # Because default branch is still "trunk", we build only "trunk" to avoid
+ # doubly building on master and trigger CI on Pull Request.
+ - master # mirrored from trunk
environment:
ruby_version: "24-%Platform%"
zlib_version: "1.2.11"