travis: add custom apt sources#4321
Conversation
| # see travis-ci.org for details | ||
|
|
||
| language: c | ||
| dist: trusty |
There was a problem hiding this comment.
Didn't notice that I had duplicated this line in my original PR.
|
Wheeeee: This is exactly what our prior script was doing. And it indeed downloads our custom packages: |
64f17ad to
73f1772
Compare
|
Glad it works and nice to see no more issues with our proxy code, thanks for fixing! It's quite unfortunate that we're effectively shipping broken code on some platforms and I think we should bug distro maintainers to update the package accordingly. I've just checked with the Ubuntu package, and they are already patching this exact code that is causing our issue as part of CVE-2016-0755. I guess they have simply backported the upstream patch without having the additional patch to fix the check. I'll take care of this issue. |
|
Well. It works for trusty. But - unsurprisingly - it makes our precise build fail miserably. We could just dump our precise build entirely or move back to the VM infra until Ubuntu backports that fix. (If they backport the fix.) Dumping precise would be my preference. Thoughts @pks-t ? |
|
Sorry, there's also a question of if there's a conditional here around apt sources that I'm missing. But I don't see it. :/ |
|
I've created a bug with Ubuntu at https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1707214. By the way, are you sure this even works (I cannot get Travis to load right now, cannot check myself)? I've just found |
|
Thanks for opening that ubuntu issue. Indeed, this does work (though, as mentioned above, for trusty only). Those lines I pasted above are from the build. My question was whether it has silently updated us to the VM based infrastructure in order to support this. (The sources configuration is notably not in the container section of the documentation.) I just added a
So it does appear that we are both running on the container infrastructure and installing our own custom apt packages. |
cb53624 to
73f1772
Compare
|
We might also wait a few days to see whether libcurl3 will get fixed quickly by Canonical (which I somehow doubt). If not, I'd vote for dropping Precise. |
Move back to Travis's VM infrastructure for efficiency.
73f1772 to
9dc21ef
Compare
|
We've dropped support for precise, so we can safely move back to the container-based builds on Travis. |
This basically reverts #4317's move back to Travis's VM infrastructure, and points to our custom repository.