Closed johnnychen94 closed 5 years ago
Which status and logs? All that looks good.
Sorry that I didn't make this clear
The package itself goes well and pass the test. But the travis building status and its badge in README.md says the other way.
In https://travis-ci.org/JuliaImages/ImageDistances.jl/jobs/438420880#L520, it saysERROR: LoadError: ArgumentError: Package ImageDistances does not have EarthMoversDistance in its dependencies:
but this package seems not used in this repository. Not very clear what's the problem with this.
Oh, got it. I hadn't paid much attention to this before, but it appears that the build link from the README.md points to the most recent PR, which indeed failed because it was a WIP which had known missing build dependencies (see #4).
I wonder if we should be more careful about this kind of thing. The list of branches on travis is https://travis-ci.org/JuliaImages/ImageDistances.jl/branches, and you can see master
itself is passing. I'm not easily finding a URL which automatically points to the most recent build merged into master
. Any ideas?
We can always restart the builds in Travis and the badge should automatically update. The restart button is in the right side in the build spec.
On Mon, Oct 15, 2018, 06:54 Tim Holy notifications@github.com wrote:
Oh, got it. I hadn't paid much attention to this before, but it appears that the build link from the README.md points to the most recent PR, which indeed failed because it was a WIP which had known missing build dependencies (see #4 https://github.com/JuliaImages/ImageDistances.jl/pull/4).
I wonder if we should be more careful about this kind of thing. The list of branches on travis is https://travis-ci.org/JuliaImages/ImageDistances.jl/branches, and you can see master itself is passing. I'm not easily finding a URL which automatically points to the most recent build merged into master. Any ideas?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JuliaImages/ImageDistances.jl/issues/5#issuecomment-429781173, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMLberBjN8E5CDYS621i6Rxl--hnVvLks5ulFtRgaJpZM4XaB73 .
I know, but it seems a little weird to be "forced" to rebuild master every time someone submits a failing PR. That seems like a lot of manual work.
Oh the badge is not pointing to master ? I will take a look when I get access to my computer
On Mon, Oct 15, 2018, 07:06 Tim Holy notifications@github.com wrote:
I know, but it seems a little weird to be "forced" to rebuild master every time someone submits a failing PR. That seems like a lot of manual work.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JuliaImages/ImageDistances.jl/issues/5#issuecomment-429785628, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMLbS63cYKJTBzy1034FxM9_2H3KncBks5ulF36gaJpZM4XaB73 .
I have no idea why the badge is pointing to the PR. Tim, if you can restart the builds marked with a X in this link we can see if the badge gets fixed: https://travis-ci.org/JuliaImages/ImageDistances.jl/builds/431284305
It wasn't the X builds that were the problem (we allow failures on nightly and that was where it happened to be), we just needed a build fresher than #4.
This did indeed fix the badge. Just need to figure out a better approach (this is probably an issue for many packages).
I think I added a CRON job to the build to run every month. So the badge is updated automatically at this frequency. We could make it happen more frequently like every week.
Every now and then a specific build fails on Travis because of the cloud infrastructure and other issues unrelated to the actual changes in the codebase here.
Not very sure if this issue is completely fixed. Close it anyway.
I successfully add and test this package, but the build status and building logs are still failed.