Commit c43047e5 authored by Niels's avatar Niels

added codecov

parent 88445fd9
...@@ -10,6 +10,7 @@ before_install: ...@@ -10,6 +10,7 @@ before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- sudo pip install cpp-coveralls pyyaml - sudo pip install cpp-coveralls pyyaml
- sudo apt-get install valgrind - sudo apt-get install valgrind
- pip install codecov
script: script:
- make - make
...@@ -22,3 +23,4 @@ after_success: ...@@ -22,3 +23,4 @@ after_success:
- make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage -std=c++11" - make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage -std=c++11"
- ./json_unit "*" - ./json_unit "*"
- coveralls --exclude test/catch.hpp --exclude test/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9' - coveralls --exclude test/catch.hpp --exclude test/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9'
- codecov
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment