Created
July 31, 2015 16:09
-
-
Save cotsog/3ce84675af0d74438d91 to your computer and use it in GitHub Desktop.
.travis.yml for gcc-5 compiler support on Travis CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo: required | |
script: | |
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc | |
- gcc --version | |
addons: | |
apt: | |
sources: | |
- ubuntu-toolchain-r-test | |
packages: | |
- gcc-5 | |
- g++-5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anybody else's sake: The default
g++
in Trusty fully supports C++11 language features, but the libstdc++ that's installed alongsideg++-5
is the first that's feature complete for C++11 library features.