nickmerwin / node-coveralls

lcov posting to coveralls.io
Other
1.07k stars 258 forks source link

Run coveralls through docker container #186

Open hibacha opened 6 years ago

hibacha commented 6 years ago

Hi, I was trying to run coveralls through a docker container. It succeeds but it doesn't show the badge and coverage data on github status page for that PR. I ran my build on travis. I passed TRAVIS_JOB_ID and TRAVIS_BRANCH to docker container. But it doesn't work. I wondering which environment variables are required to pass in.

blaenk commented 6 years ago

Try this:

https://github.com/nickmerwin/node-coveralls/blob/9cfb4967c7d80acccd9f06bc890f253953060592/lib/getOptions.js#L20-L26

jaylenw commented 5 years ago

Looks like this is working, thank you @blaenk