Skip to content

Commit

Permalink
Ignore coverage on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
whoshuu committed Apr 4, 2015
1 parent 374270c commit 1e5cf76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ script:
- ctest -V

after_success:
- if [ "$GENERATE_COVERAGE" == "ON" ]; then coveralls -i $TRAVIS_BUILD_DIR -e $TRAVIS_BUILD_DIR/CMakeFiles -e $TRAVIS_BUILD_DIR/opt -E .*googletest.*\.h; fi
- if [ "$GENERATE_COVERAGE" == "ON" ]; then coveralls -i $TRAVIS_BUILD_DIR -e $TRAVIS_BUILD_DIR/CMakeFiles -e $TRAVIS_BUILD_DIR/opt -e $TRAVIS_BUILD_DIR/test -E .*googletest.*\.h; fi
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ add_test(NAME post_api_tests COMMAND post_tests)

if(GENERATE_COVERAGE)
setup_target_for_coverage(${PROJECT_NAME}_coverage ctest coverage -V
"'gtest/*';'googletest/*';'mongoose/*';'curl/*'")
"'gtest/*';'googletest/*';'mongoose/*';'curl/*';'test/*'")
endif()

0 comments on commit 1e5cf76

Please sign in to comment.