From 52d31c36c81f01beae0bb9bad9326808b8be54dc Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 12 Feb 2016 15:06:20 +0000 Subject: [PATCH] Fix logic with MVN_GOAL --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1923edd..b0c438a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_install: - gem install asciidoctor install: - ./mvnw install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true -- '[ "${MVN_GOAL}" == "deploy" ] && ./docs/src/main/asciidoc/ghpages.sh' +- '[ "${MVN_GOAL}" != install" ] || ./docs/src/main/asciidoc/ghpages.sh' script: - './mvnw -s .settings.xml $MVN_GOAL $MVN_PROFILE -nsu -Dmaven.test.redirectTestOutputToFile=true' env: