On Sun, Nov 13, 2016 at 9:34 AM, Edward Diener
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. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail