Skip to content

Commit

Permalink
Only build master branch on push (#3460)
Browse files Browse the repository at this point in the history
Only pushes to the master branch result in a build on travis (PR's are always built)
  • Loading branch information
tobiasdiez authored and lenhard committed Dec 8, 2017
1 parent 26f38b2 commit 6f39151
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ after_failure:
# show test results if build fails
- $TRAVIS_BUILD_DIR/scripts/after-failure.sh

branches:
only:
- master

# cache gradle dependencies
# https://docs.travis-ci.com/user/languages/java#Caching
before_cache:
Expand Down

0 comments on commit 6f39151

Please sign in to comment.