Install llvm-cov on nightly to revive coverage

Towards #433
This commit is contained in:
Greg Fitzgerald 2018-07-18 12:11:05 -04:00
parent dbab8792e4
commit 6ff46540b6
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,6 @@
FROM rustlang/rust:nightly
RUN cargo install --force clippy cargo-cov
RUN cargo install --force clippy cargo-cov && \
echo deb http://ftp.debian.org/debian stretch-backports main >> /etc/apt/sources.list && \
apt update && \
apt install -y llvm-6.0

View File

@ -15,9 +15,6 @@ _ cargo build --verbose --features unstable
_ cargo test --verbose --features unstable
_ cargo clippy -- --deny=warnings
exit 0
# Coverage disabled (see issue #433)
_ cargo cov test
_ cargo cov report
@ -27,6 +24,6 @@ ls -l target/cov/report/index.html
if [[ -z "$CODECOV_TOKEN" ]]; then
echo CODECOV_TOKEN undefined
else
bash <(curl -s https://codecov.io/bash) -x 'llvm-cov gcov'
bash <(curl -s https://codecov.io/bash) -x 'llvm-cov-6.0 gcov'
fi