try to fix travis build

This commit is contained in:
Spencer Gibb
2015-08-20 16:35:33 -06:00
parent 7f5b6a49f5
commit 2275dc735e

View File

@@ -1,7 +1,7 @@
sudo: false
cache:
directories:
- $HOME/.m2
#cache:
# directories:
# - $HOME/.m2
language: java
jdk:
- oraclejdk8
@@ -12,7 +12,7 @@ before_install:
- echo "https://$GH_TOKEN:@github.com" > .git/credentials
- gem install asciidoctor
install:
- ./mvnw install -P docs -U -DskipTests=true
- ./mvnw install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
- ./docs/src/main/asciidoc/ghpages.sh
script:
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw -s .settings.xml deploy -P release -nsu -Dmaven.test.redirectTestOutputToFile=true'