added codecov

This commit is contained in:
Niels 2015-06-21 23:10:12 +02:00
parent 88445fd96b
commit c43047e5f6

View file

@ -10,6 +10,7 @@ before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- sudo pip install cpp-coveralls pyyaml
- sudo apt-get install valgrind
- pip install codecov
script:
- make
@ -22,3 +23,4 @@ after_success:
- make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage -std=c++11"
- ./json_unit "*"
- coveralls --exclude test/catch.hpp --exclude test/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9'
- codecov