Skip to content

Commit 146c312

Browse files
committed
Limit Travis to master branch.
This will keep Travis from building twice for pull requests. (Currently it builds once for the branch push and again for the pull request.)
1 parent f78394c commit 146c312

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ env:
2020
before_install:
2121
- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv -in service-account.json.enc -out service-account.json -d
2222

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

0 commit comments

Comments
 (0)