Skip to content

Commit 5c3a843

Browse files
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. travis-ci/travis-ci#1147
1 parent 29a9866 commit 5c3a843

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ before_install:
55
- gem update --system
66
- gem install bundler
77
cache: bundler
8+
branches:
9+
only:
10+
- master
811
matrix:
912
include:
1013
- rvm: 2.3.8

0 commit comments

Comments
 (0)