I want to contribute to an open-source project (specifically, this one) where the project owner has already set up Travis. I want to integrate Coveralls to this project and send a pull-request. When I own the project, the process is simple:
- Configure build/test system with
.travis.yml
and language specific tools - Take
repoToken
from Coveralls - Add
repoToken
as environment variable to project's Travis system - Add language specific configuration to
.travis.yml
'safter_success
cycle.
However, I've got problems with that when I do not own the repository.
- Since I do not own the repository, I only can add project on Coveralls with my fork copy. What I mean is, my fork's coverage URL will be
/github/myusername/forkedrepo
in Coveralls and when I sent that PR to repository owner, it will be the same whereas it must be/github/ownersusername/originalrepo
. - I cannot add environment variable
repoToken
to owner's Travis build system since I do not own it.
So my questions are:
- Is it possible to automatize this process? Like merging my forked Travis system to owner's original system for
repoToken
environment variable and/or creating a Coveralls system for owner? - Or should I simply contact the owner, create separate Travis/Coveralls for my forked project by myself and leave some to-dos in codebase so that he can find these and change later?
Thanks in advance.
Environment
- Java
- Maven
- Covertura Maven Plugin for coverage
- Coveralls Maven Plugin for sending coverage results to Coveralls