From 5c3a8430268b1108760058e80cec0d1122b479e4 Mon Sep 17 00:00:00 2001 From: James Stonehill Date: Sun, 25 Aug 2019 12:28:29 +0100 Subject: [PATCH] Avoid double Travis builds At the moment we build on both PRs and pushes which causes two builds when you push to a branch with an open PR. In order to prevent this, from now on it will only build for the master branch and PR branches. https://github.com/travis-ci/travis-ci/issues/1147 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index ff902df..0ecd017 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ before_install: - gem update --system - gem install bundler cache: bundler +branches: + only: + - master matrix: include: - rvm: 2.3.8