-
Notifications
You must be signed in to change notification settings - Fork 0
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
Code Coverage Support #1
Comments
I think you want I don't know if its too much work for people to put it at the end, but if there is an option that'd be neat.
|
Excellent point, patched and pushed.
I will investigate how Travis generally handles this and make a first implementation, probably within a few days. |
Perhaps we should just add the |
Strangely, on my machine |
Sorry about the recent inactivity, working on this today. @tkelman: I think there is a decent chance to get this done nicely in a single sweep. But there is the issue that @timholy mentioned, about the development branch currently providing more accurate coverage reports. I have been keeping an eye on the activity on GitHub, but I have not seen any plans to backport #9354 and #9658 for v0.3.5. If we could get these two features included it would be great, maybe I should mention this over at the v0.3.5 discussion issue. @timholy: |
One tricky aspect though is that the coverage files will end up in |
We have backported one new command-line option to the 0.3 branch ( |
Okay, good, then things are as I suspected from reading the lists. I have gone over what Coveralls.io supports and they will only ever have one coverage report per branch. Thus we can't really have different coverage reports, which shouldn't be needed anyway once the coverage code is synced between My current idea on how to implement this would be an environment variable |
That sounds workable. Maybe describe what you're planning in travis-ci/travis-ci#3092 and ask for Travis devs' opinions? Would be a shame to go implement it if it doesn't fit with what Travis would be willing to merge. |
I think it would be crazy to backport |
I've fixed the |
travis-ci#411 should at least allow people to stop having to overwrite the |
Oh, hm, looks like @timholy's PR's mean setting |
You also get misleading coverage results if inlining is on (any inlined function will show up as having not been covered). Performance-wise, packages usually finish their tests so fast, it should not be an issue. So until problems crop up, I think this is the correct default. (That said, I'm also supportive of efforts to make this configurable.) The only problem I'm aware of is that there have been a few weird bugs that only seem to show up with |
[Smalltalk] Say yes to everything apt-get wants. Reference: hpi-swa/smalltalkCI#59
add fallback mirror for more reliable downloads
Suffix username to mark BrowserStack sessions run via Travis
Filter secure env vars from build logs
@IainNZ raised this question over at the mailing list and I just opened a branch with a simple single commit eb2177a. What strikes me as troublesome though is how we can best hook Coveralls into the results. I find the idea of forcing users to add or uncomment
in their
.travis.yml
to be a rather ugly solution, but I am unable to come up with a better solution given my lack of insight into the Coveralls API. How can we know if we are to submit the coverage reports to Coveralls? Alternatively, should we add some sort of.travis.yml
flag to control this behaviour?The text was updated successfully, but these errors were encountered: