From b3097f143cfb3bbec4f010c5a0a86e368be70464 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Wed, 28 Aug 2019 21:28:49 +0530 Subject: [PATCH] Build only pushes to certain branches on Travis CI --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e6fb9aa..b6a7db0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: ruby +cache: bundler rvm: - 2.4 @@ -9,7 +10,6 @@ rvm: - jruby-head - truffleruby - matrix: include: - rvm: *latest_ruby @@ -20,9 +20,11 @@ matrix: - rvm: jruby-head - rvm: truffleruby -cache: bundler - -script: bundle exec rake +branches: + only: + - master + - gh-pages + - /.*-stable/ notifications: disable: true