@ -1,3 +1,6 @@
|
|||||||
FROM rustlang/rust:nightly
|
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
|
||||||
|
@ -15,9 +15,6 @@ _ cargo build --verbose --features unstable
|
|||||||
_ cargo test --verbose --features unstable
|
_ cargo test --verbose --features unstable
|
||||||
_ cargo clippy -- --deny=warnings
|
_ cargo clippy -- --deny=warnings
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# Coverage disabled (see issue #433)
|
|
||||||
_ cargo cov test
|
_ cargo cov test
|
||||||
_ cargo cov report
|
_ cargo cov report
|
||||||
|
|
||||||
@ -27,6 +24,6 @@ ls -l target/cov/report/index.html
|
|||||||
if [[ -z "$CODECOV_TOKEN" ]]; then
|
if [[ -z "$CODECOV_TOKEN" ]]; then
|
||||||
echo CODECOV_TOKEN undefined
|
echo CODECOV_TOKEN undefined
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user