diff --git a/.travis.yml b/.travis.yml index b941cee3..c3c607ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,12 +13,11 @@ install: travis_wait mvn clean install -DskipTests=true -Dpmd.skip=true -Dgpg.sk # for sonarcloud.io dist: trusty -after_success: - - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dmaven.javadoc.skip=true -Dgpg.skip=true -P travis,coverage - # use latest java version available instead of travis default addons: sonarcloud: organization: "legaldocml" token: - secure: $SONAR_TOKEN \ No newline at end of file + secure: $SONAR_TOKEN +script: + - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dmaven.javadoc.skip=true -Dgpg.skip=true -P travis,coverage \ No newline at end of file