Skip to content

Commit

Permalink
travis: upgrade to gcc-4.8 for c++11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed May 19, 2014
1 parent c6bd4f8 commit 84fdc9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ compiler:

before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
# TODO - upgrade compilers
# we need at least g++-4.7 for c++11 features
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq

install:
- sudo apt-get -qq install boost1.55 g++ gcc
- sudo apt-get -qq install boost1.55 gcc-4.8 g++-4.8
- if [ "${CXX}" = 'g++' ]; then export CXX="g++-4.8" && export CC="gcc-4.8"; fi;

before_script:
- make test
Expand Down

0 comments on commit 84fdc9e

Please sign in to comment.