Fix logic with MVN_GOAL

This commit is contained in:
Dave Syer
2016-02-12 15:06:20 +00:00
parent a202a84f37
commit 52d31c36c8

View File

@@ -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: