From a976d477eef71fe66bf7ca70dc3aefb33650871b Mon Sep 17 00:00:00 2001 From: Roman Ivanov Date: Mon, 12 Oct 2015 06:37:11 -0700 Subject: [PATCH] minor: line folding style for long command --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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: