diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-11-12 21:12:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-12 21:12:42 +0300 |
commit | ec89bc03d7653d8ad8d3c7289d2327d7f2329f6f (patch) | |
tree | fff0e0fcebc44b8be8ffb15b245d8fe0fc4acbb2 /.travis.yml | |
parent | 21feb30317dbc2adf529ca0b81061ad70615f18a (diff) |
add codedov (#411)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index d4525cc5..490a83cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,3 +14,32 @@ script: matrix: fast_finish: true + +## Codedov + +language: generic + +sudo: required + +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - cmake + +after_success: | + wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && + tar xzf master.tar.gz && + cd kcov-master && + mkdir build && + cd build && + cmake .. && + make && + sudo make install && + cd ../.. && + rm -rf kcov-master && + mkdir -p coverage && + kcov coverage script.sh && + bash <(curl -s https://codecov.io/bash) |