diff --git a/.travis.yml b/.travis.yml index 73074487..485ed36e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: java before_install: -- git config user.name "$GIT_NAME" -- git config user.email "$GIT_EMAIL" -- git config credential.helper "store --file=.git/credentials" -- echo "https://$GH_TOKEN:@github.com" > .git/credentials -- gem install asciidoctor + - git config user.name "$GIT_NAME" + - git config user.email "$GIT_EMAIL" + - git config credential.helper "store --file=.git/credentials" + - echo "https://$GH_TOKEN:@github.com" > .git/credentials + - gem install asciidoctor install: - mvn --settings .settings.xml install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true -- "./docs/src/main/asciidoc/ghpages.sh" +- ./docs/src/main/asciidoc/ghpages.sh script: #TODO: change install to deploy - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || mvn --settings .settings.xml install -nsu -Dmaven.test.redirectTestOutputToFile=true'