On Sun, Nov 13, 2016 at 3:42 PM, Rene Rivera
On Sun, Nov 13, 2016 at 9:34 AM, Edward Diener
wrote: On 11/13/2016 7:22 AM, Bruno Dutra wrote:
I believe Travis CI provides the original versions of development tools that are available by default on the OS images they use. Since their recommended container-based environment still runs on Ubuntu 12.04, one can imagine that the versions of GCC and Clang available there are pretty ancient by now. One can always install more recent versions of compilers from some selected external sources, but that must go through a process of whitelisting, which unfortunately takes much too long sometimes.
I think that is why CI cannot be the only method of testing libraries. While I find Travis CI useful the fact that CI services may be well behind the curve as far as the latest testing environments means that local testing is still very important. This is especially true for C++11 on up implementations which may well need the latest versions of compilers to certify that their use of the latest features of C++ work correctly.
For Travis you can choose to use Trusty, ie Ubuntu 14. And you can use it in non-container mode. And you can turn on sudo support. And hence can install whatever you like from sources or packages. Which is what Predef does for testing the almost dozen compiler versions on Travis.
Well noted. I've been refraining from migrating to Trusty, because it is claimed to be slower than the container based precise machines and also because their whitelisting system did work up until recently well enough not to bother me much, but to be frank enough is enough of waiting for clang-3.9, I guess it's time to move on [1]. Unfortunately it won't be that easy for metaben.ch, because some jobs often take longer than the maximum 50 min even on the faster container based environment, so migrating to Trusty images would only make it worse. [1]: https://github.com/brunocodutra/metal/issues/50