From 8e135f16d3707e3dd5cd3187ff4d95ea063fea3e Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sat, 22 Jun 2019 17:22:24 -0700 Subject: [PATCH] Eliminate double CI builds on PRs As suggested by this answer: https://stackoverflow.com/a/31882307 --- .travis.yml | 3 +++ appveyor.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index ca6f7f0..65835dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ sudo: false language: ruby cache: bundler +branches: + only: + - master rvm: - 1.9 - 2.0 diff --git a/appveyor.yml b/appveyor.yml index 6ee282a..572842c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,8 @@ version: '{build}' skip_tags: true +skip_branch_with_pr: true + environment: matrix: - ruby_version: "23"