2017-11-27 20:48:33 +00:00
|
|
|
language: c
|
2019-03-27 02:45:20 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages: &1
|
|
|
|
- lcov
|
2017-11-27 20:48:33 +00:00
|
|
|
# Compiler selection
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
2019-03-27 02:45:20 +00:00
|
|
|
env:
|
|
|
|
- ANALYZE=false
|
|
|
|
- ANALYZE=true
|
2017-11-27 20:48:33 +00:00
|
|
|
# Build steps
|
|
|
|
script:
|
2019-03-27 02:45:20 +00:00
|
|
|
- ./.travis.sh
|
|
|
|
after_success:
|
|
|
|
# Creating report
|
|
|
|
- cmake -DENABLE_COVERAGE=ON
|
|
|
|
- make
|
|
|
|
- make test
|
|
|
|
# Uploading report to CodeCov
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|