using GCC 4.8 for Travis
This commit is contained in:
parent
fbad7fac17
commit
36fcc942c4
1 changed files with 5 additions and 1 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue