To use Coveralls with Gradle and Travis, I use the Coverall Gradle plugin ( com.github.kt3k.coveralls ) and the team after success in Travis.
The readme plugin explains its use very well. But if you want to test the example, you can refer to the project in which I use it: Sabina Java
Corresponding files: .travis.yml
and build.gradle
Just a hint: you can enable logging in Travis by adding the --info
flag to commands to help you spot errors.
I hope this will be useful after such a long time.
source share