Build only pushes to certain branches on Travis CI

This commit is contained in:
Ashwin Maroli
2019-08-28 21:28:49 +05:30
parent 7b309dc75d
commit b3097f143c
+6 -4
View File
@@ -1,4 +1,5 @@
language: ruby language: ruby
cache: bundler
rvm: rvm:
- 2.4 - 2.4
@@ -9,7 +10,6 @@ rvm:
- jruby-head - jruby-head
- truffleruby - truffleruby
matrix: matrix:
include: include:
- rvm: *latest_ruby - rvm: *latest_ruby
@@ -20,9 +20,11 @@ matrix:
- rvm: jruby-head - rvm: jruby-head
- rvm: truffleruby - rvm: truffleruby
cache: bundler branches:
only:
script: bundle exec rake - master
- gh-pages
- /.*-stable/
notifications: notifications:
disable: true disable: true