Coveralls (#897)

* Update pom.xml
* Update build.sh
* Create .coveralls
This commit is contained in:
Morgan 2022-08-01 09:46:44 -07:00 committed by GitHub
parent 741a4929cd
commit 95d46aa5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

2
.coveralls Normal file
View File

@ -0,0 +1,2 @@
service_name: travis-pro
repo_token: ${env.COVERALLS_REPO_TOKEN}

View File

@ -4,5 +4,5 @@ then
echo 'Travis can only publish docs for release builds.'
return 0
fi
mvn test
mvn test -DrepoToken=$COVERALLS_REPO_TOKEN
exit $?

View File

@ -289,6 +289,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>
</plugins>
</build>
</project>