Compiling C++ on Travis CI
• Mark Eschbach
Travis documents a basic configuration file:
Looks pretty simple, however they also note the default compiler installed will probably need to be updated as it most likely doesn’t support C++14 or C++17. Should be easy enough according to get to compile.
language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-7
Well, that turned out easier than I thought. Running
gcc-7 --version produced the correct version line. I just need
to remember to set