Skip to content

Commit

Permalink
Install llvm-cov on nightly to revive coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed Jul 18, 2018
1 parent a6cb2f1 commit 44ff042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions ci/docker-rust-nightly/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM rustlang/rust:nightly

RUN cargo install --force clippy cargo-cov
RUN apt update && apt-get install -y llvm-6.0
5 changes: 1 addition & 4 deletions ci/test-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 44ff042

Please sign in to comment.