Closed igr closed 9 years ago
I have this problem too. The problem can be easily solved if coveralls-gradle-plugin
doesn't ignore the environment variables for the serviceName
which is CI_NAME
. AS you can see, it is not used at all. So I think the CI_NAME
should be also checked here and used here.
I've just uploaded the fixed one to my bintray repo and it works. Now I can see Coveralls's test coverage results.
If you want to test it, add the following info accordingly in your build.gradle
.
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url "http://dl.bintray.com/kevinlee/maven"
}
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.3.2'
}
}
Currently if there is an env variable for repo token, plugin assumes it is travis-pro. This is not entirely correct. Since I have some integration tests, I am sending jacoco reports from my computer, not from travis. For this I need the env variable to be set, and yet I am using travis-ci not pro.