Skip to content

Travis Notes

Bill Quith edited this page Aug 16, 2016 · 6 revisions

These are notes (to remind me!) of the various issues when trying to use Travis for this project. Setting up Travis for modern C++1y is a PITA.

Out of date Trusty packages

Default clang and GCC compiler versions are old. Need to update and explicitly specify versions using matrix include options. See complex example.

Mixed C++11 feature support

E.g. <codecvt> Unicode support. This is implemented on libc++, but varies on libstdc++.

  • libc++ - the new library effort by LLVM to write C++ standard library in C++1y.
  • libstdc++ - the older C++03 C++ standard library.

OSX has very good C++1y support through AppleClang. Linux is spotty in some areas. Trying to mix the two is problematic and I think causes link errors.

Travis Linux differences

I have tested Gwork on Linux in Ubuntu 16 (clang 3.8) and Fedora 23 (GCC 5.3) and both compile and link with default cmake options. However both fail on Travis with the cmake (3.2.2).

Clone this wiki locally