The new site/documentation code runs after_success, which prevents it from ever being cached, so the maven dependencies are re downloaded each run.
Suggestion:
Move doc statement to the install phase
Add a conditional to check the branch and only run on master ( should be exposed as $TRAVIS_BRANCH)
The new site/documentation code runs after_success, which prevents it from ever being cached, so the maven dependencies are re downloaded each run.
Suggestion:
Move doc statement to the install phase
Add a conditional to check the branch and only run on master ( should be exposed as $TRAVIS_BRANCH)