mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-13 06:06:28 +01:00
Coveralls (#897)
* Update pom.xml * Update build.sh * Create .coveralls
This commit is contained in:
parent
741a4929cd
commit
95d46aa5e6
2
.coveralls
Normal file
2
.coveralls
Normal file
@ -0,0 +1,2 @@
|
||||
service_name: travis-pro
|
||||
repo_token: ${env.COVERALLS_REPO_TOKEN}
|
@ -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 $?
|
||||
|
8
pom.xml
8
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user