Make this build more like others.
language: java
+cache:
+ directories:
+ - $HOME/.m2
+
jdk:
- openjdk8
- openjdk11
@@ -26,12 +30,8 @@ matrix:
- jdk: openjdk-ea
- jdk: openjdk14
-cache:
- directories:
- - $HOME/.m2
-
-# do all the building and testing in a single phase, instead of compiling everything three times
-# and running all tests twice.
-
script:
- - ./mvnw -V clean apache-rat:check test jacoco:report coveralls:report -Ptravis-jacoco --no-transfer-progress
+ - mvn -V --no-transfer-progress
+
+after_success:
+ - mvn -V --no-transfer-progress clean test jacoco:report coveralls:report -Ptravis-jacoco javadoc:javadoc -Ddoclint=all
