Skip to content

Commit

Permalink
Limit Travis to master branch.
Browse files Browse the repository at this point in the history
This will keep Travis from building twice for pull requests. (Currently
it builds once for the branch push and again for the pull request.)
  • Loading branch information
tswast committed Apr 12, 2016
1 parent f78394c commit 146c312
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ env:
before_install:
- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv -in service-account.json.enc -out service-account.json -d

script: mvn verify -DskipTests=false
script: mvn --batch-mode clean verify -DskipTests=false | egrep -v "(^\[INFO\] Download|^\[INFO\].*skipping)"
after_success:
- mvn clean cobertura:cobertura coveralls:report
branches:
only:
- master

0 comments on commit 146c312

Please sign in to comment.