mirror of
https://github.com/nlohmann/json
synced 2024-11-25 13:20:05 +00:00
using GCC 4.8 for Travis
This commit is contained in:
parent
fbad7fac17
commit
36fcc942c4
@ -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 New Issue
Block a user