From 146c312cdd734a5b9e78aa2f9b1a672efdd5eeba Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 12 Apr 2016 16:12:40 -0700 Subject: [PATCH] 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.) --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fedce4fa4b5..1f24d1d1a51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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