using GCC 4.8 for Travis

This commit is contained in:
Niels 2014-12-28 09:21:06 +01:00
parent fbad7fac17
commit 36fcc942c4

View file

@ -2,9 +2,12 @@ language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- sudo pip install cpp-coveralls
before_script:
@ -20,3 +23,4 @@ after_success:
- make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage"
- ./json_unit
- coveralls --exclude lib --exclude tests --gcov-options '\-lp'