diff --git a/.coveralls b/.coveralls new file mode 100644 index 0000000..d16aaa7 --- /dev/null +++ b/.coveralls @@ -0,0 +1,2 @@ +service_name: travis-pro +repo_token: ${env.COVERALLS_REPO_TOKEN} diff --git a/.utility/build.sh b/.utility/build.sh index 0e83d28..698cd41 100755 --- a/.utility/build.sh +++ b/.utility/build.sh @@ -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 $? diff --git a/pom.xml b/pom.xml index 21735e9..797ace1 100644 --- a/pom.xml +++ b/pom.xml @@ -289,6 +289,14 @@ + + org.eluder.coveralls + coveralls-maven-plugin + 4.3.0 + + yourcoverallsprojectrepositorytoken + +