try coveralls instead

embedded-hal-1.0
Chris 2019-01-15 11:35:10 +01:00
parent 42ee1773cb
commit 619e6124c5
1 changed files with 5 additions and 15 deletions

View File

@ -100,6 +100,7 @@ addons:
- binutils-dev - binutils-dev
- libiberty-dev - libiberty-dev
before_install: before_install:
- set -e - set -e
- rustup self update - rustup self update
@ -125,21 +126,10 @@ script:
# - cd examples/stm32f3discovery && cargo check --target thumbv7m-none-eabi && cd ../../ # - cd examples/stm32f3discovery && cargo check --target thumbv7m-none-eabi && cd ../../
#- cd ../f3_stm32f30x && cargo build #- cd ../f3_stm32f30x && cargo build
after_success: | after_success:
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && # measure code coverage and upload to coveralls.io
tar xzf master.tar.gz && - cargo coveralls
cd kcov-master && #- cargo doc-upload
mkdir build &&
cd build &&
cmake .. &&
make &&
make install DESTDIR=../../kcov-build &&
cd ../.. &&
rm -rf kcov-master &&
for file in target/debug/epd_waveshare-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
bash <(curl -s https://codecov.io/bash) &&
echo "Uploaded code coverage"
#- cargo doc-upload