trautonen / coveralls-maven-plugin

Maven plugin for submitting Java code coverage reports to Coveralls web service.
MIT License
312 stars 123 forks source link

support for travis-pro #94

Open licarth opened 8 years ago

licarth commented 8 years ago

Currently this plugin only supports travis-ci, would be nice if it supported travis-pro, and probably not too big of a change.

v4ngelo commented 8 years ago

I was able to fix this problem with the following configuration. Branch, committer info and commit messages seem to be correct:

`

org.eluder.coveralls
            <artifactId>coveralls-maven-plugin</artifactId>
            <version>4.1.0</version>
            <configuration>
                <repoToken>${env.coveralls_repo_token}</repoToken>
                <serviceName>travis-pro</serviceName>
            </configuration>
        </plugin>`
trautonen commented 8 years ago

I guess Travis Pro works like pretty much the same way as any private CI would work with the plugin. This means that you have to explicitly provide repoToken like @v4ngelo said.

If someone creates a pull request or could tell if there's way to configure Travis Pro automatically, I'm happy to do that.

jgangemi commented 6 years ago

i just encountered this myself and i'm not sure it's possible to auto-configure the pro account which is potentially going to be a larger issue now that all open source projects are being migrated over.

i think @v4ngelo has the best approach right now, the token just needs to be encrypted w the travis client. make sure you specify --pro otherwise the wrong api endpoints are used.