From f6aef65523fa517f8cb6485d7e69b8a6afaa0d74 Mon Sep 17 00:00:00 2001 From: The-EDev Date: Thu, 30 Sep 2021 04:46:54 +0300 Subject: [PATCH] "query_string.h" is part of qs_parse and shouldn't be part of Crow's coverage --- .drone.yml | 4 ++-- .travis.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 85a278588..3d27a3863 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,7 +32,7 @@ steps: - make -j4 - ctest -V -j4 - cd .. - - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp + - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --exclude-pattern .*/query_string.h - export CC=/usr/bin/clang - export CXX=/usr/bin/clang++ - mkdir build-clang @@ -126,7 +126,7 @@ steps: - make -j4 - ctest -V -j4 - cd .. - - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp + - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --exclude-pattern .*/query_string.h - export CC=/usr/bin/clang - export CXX=/usr/bin/clang++ - mkdir build-clang diff --git a/.travis.yml b/.travis.yml index 7c49755b7..8b4febf31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,12 +46,12 @@ before_script: - mkdir build - cd build - cmake --version - - cmake .. -DCROW_ENABLE_COMPRESSION=ON -DCROW_ENABLE_SSL=ON + - cmake .. -DCROW_ENABLE_COMPRESSION=ON -DCROW_ENABLE_SSL=ON -DCROW_AMALGAMATE=ON script: make -j4 && ctest -V -j4 after_success: - cd .. - - if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls -i include --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --gcov-options '\-lp'; fi + - if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls -i include --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --exclude-pattern .*/query_string.h --gcov-options '\-lp'; fi - chmod +x scripts/generateDocumentationAndDeploy.sh - if [ "$TRAVIS_BUILD_DOCS" == "ON" ]; then ./scripts/generateDocumentationAndDeploy.sh; fi