diff --git a/.travis.yml b/.travis.yml index a1f57f8eb..d3d6d0593 100644 --- a/.travis.yml +++ b/.travis.yml @@ -225,7 +225,17 @@ script: eval $CMD after_success: - eval $COVERAGE_CMD - - if [[ $TRAVIS_REPO_SLUG == 'checkstyle/checkstyle' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' && $DEPLOY == 'true' ]]; then mvn -s config/deploy-settings.xml deploy -DskipTests -DskipITs -Dpmd.skip=true -Dfindbugs.skip=true -Dcobertura.skip=true -Dcheckstyle.ant.skip=true ; fi + - >- + if [[ $TRAVIS_REPO_SLUG == 'checkstyle/checkstyle' + && $TRAVIS_BRANCH == 'master' + && $TRAVIS_PULL_REQUEST == 'false' + && $DEPLOY == 'true' + ]]; + then + mvn -s config/deploy-settings.xml deploy + -DskipTests -DskipITs -Dpmd.skip=true -Dfindbugs.skip=true + -Dcobertura.skip=true -Dcheckstyle.ant.skip=true ; + fi cache: directories: