-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advice needed :-) on implementation of Codecov without key on Travis #12
Comments
The last few amends I've made using Travis to try and fix this have all failed on the build. The only one which passed in Travis but didn't have working Codecov looked like this in the package.json: before_install:
which is what I had used in a previous project which had used the token. |
Hi @Cleop thank you for creating this question! ❤️ |
Hi @Cleop, Did you have any luck? 🍀 |
I've managed to get Travis to pass by removing the coverage script I had in my package.json before for istanbul. However I'm still getting codecov: unknown on my badge on the readme and I have no commit histories in my codecov profile. Any ideas @nelsonic? |
@Cleop good question, we could do a hangout to figure it if you have time... 🤔 |
@Cleop were you able to get this working? |
@nelsonic I found this trying to resolve the codecov badge showing unknown in Github, when codecov.io has coverage metrics, and I noticed the dwyl/stars#3 also shows codecov status as unknown. Does that feature no longer work? |
@Gamecock Good question. The feature definitely works. We use Codecov on over 50 dwyl repositories: https://codecov.io/gh/dwyl
|
Thanks, this pointed me in the correct direction. I just had to add ?token=:graph_token to the end of my request. |
I'm trying to use Codecov on Travis without using the key as you told me it can be done without and so in the name of efficiency I want to learn how it's done!
My .travis.yml and package.json look like yours:
https://github.com/Cleop/triumph-website/blob/master/.travis.yml#L3-L6
https://github.com/Cleop/triumph-website/blob/master/package.json#L10
And I'm registered on Codecov and have selected the repo.
However I'm not getting any data on Codecov when I merge PR or on the badge on my README.
Any advice would be greatly appreciated 😄 Thank you!
The text was updated successfully, but these errors were encountered: