💾 Archived View for gmi.noulin.net › gitRepositories › md4c › file › .travis.yml.gmi captured on 2024-08-18 at 18:50:11. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
.travis.yml (874B)
1 # YAML definition for travis-ci.com continuous integration. 2 # See https://docs.travis-ci.com/user/languages/c 3 4 language: c 5 6 compiler: 7 - gcc 8 9 addons: 10 apt: 11 packages: 12 - python3 # for running tests 13 - lcov # for generating code coverage report 14 15 before_script: 16 - mkdir build 17 - cd build 18 - CFLAGS='--coverage -g -O0' cmake -DCMAKE_BUILD_TYPE=Debug -G 'Unix Makefiles' .. 19 20 script: 21 - make VERBOSE=1 22 23 after_success: 24 - ../scripts/run-tests.sh 25 # Creating report 26 - lcov --directory . --capture --output-file coverage.info # capture coverage info 27 - lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter out system 28 - lcov --list coverage.info # debug info 29 # Uploading report to CodeCov 30 - bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"