attempt to update to gcc-4.8 and fix user-config.jam

This commit is contained in:
arvidn 2015-08-08 00:48:49 -04:00
parent ff51c044a1
commit fbc0f6776a
1 changed files with 4 additions and 2 deletions

View File

@ -25,17 +25,19 @@ addons:
apt: apt:
sources: sources:
- boost-latest - boost-latest
- ppa:ubuntu-toolchain-r/test
packages: packages:
- libboost1.55-all-dev - libboost1.55-all-dev
- python2.7-dev - python2.7-dev
- g++-4.8
before_install: before_install:
- git submodule update --init --recursive - git submodule update --init --recursive
install: install:
- if [ $TRAVIS_OS_NAME == "osx" ]; then sudo brew install boost boost-build python27-dev; fi - if [ $TRAVIS_OS_NAME == "osx" ]; then sudo brew install boost boost-build python27-dev; fi
- 'echo "using gcc : : ccache g++ -std=c++0x ;" > ~/user-config.jam' - 'echo "using gcc-4.8 : : ccache g++ : <cxxflags>-std=c++11 ;" > ~/user-config.jam'
- 'echo "using clang : : ccache clang++ -std=c++11 ;" >> ~/user-config.jam' - 'echo "using clang : : ccache clang++ : <cxxflags>-std=c++11 ;" >> ~/user-config.jam'
- 'echo "using python : 2.7 ;" >> ~/user-config.jam' - 'echo "using python : 2.7 ;" >> ~/user-config.jam'
- ccache -V && ccache --show-stats && ccache --zero-stats - ccache -V && ccache --show-stats && ccache --zero-stats
- which $CXX - which $CXX