Преглед на файлове

Try to fix coverage tests

The coverage tests run by Travis CI are not running for a while.
I still have no idea what the real reason for this is, and why the already working setup stopped working - so I'm trying/testing some hints from the internet.
bel2125 преди 4 години
родител
ревизия
451e71b3d3
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      .travis.yml

+ 5 - 0
.travis.yml

@@ -143,8 +143,13 @@ script:
 # Coveralls options: https://github.com/eddyxu/cpp-coveralls/blob/master/README.md
 after_success:
   - if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
+      echo "Preparing coverage tests";
+      pip install coverage;
+      echo "Creating coveralls coverage report";
       coveralls --include src --exclude src/main.c --exclude src/third_party --include include --gcov-options '\-lp' --root .. --build-root .;
+      echo "Creating codecov coverage report";
       bash <(curl -s https://codecov.io/bash);
+      echo "All coverage reports created";
     fi
 
 conan-linux: &conan-linux