committed by
Greg Fitzgerald
parent
b2accd1c2a
commit
7f53ea3bf3
@@ -3,13 +3,6 @@ steps:
|
||||
name: "stable [public]"
|
||||
timeout_in_minutes: 20
|
||||
- wait
|
||||
- command: "ci/coverage.sh"
|
||||
name: "coverage [public]"
|
||||
timeout_in_minutes: 20
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: "*"
|
||||
limit: 2
|
||||
- command: "ci/docker-run.sh rustlang/rust:nightly ci/test-nightly.sh"
|
||||
name: "nightly [public]"
|
||||
timeout_in_minutes: 20
|
||||
|
@@ -2,15 +2,12 @@
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
ci/docker-run.sh evilmachines/rust-cargo-kcov \
|
||||
bash -exc "\
|
||||
export RUST_BACKTRACE=1; \
|
||||
cargo build --verbose; \
|
||||
cargo kcov --lib --verbose; \
|
||||
"
|
||||
cargo install cargo-cov
|
||||
cargo cov test
|
||||
cargo cov report
|
||||
|
||||
echo Coverage report:
|
||||
ls -l target/cov/index.html
|
||||
ls -l target/cov/report/index.html
|
||||
|
||||
if [[ -z "$CODECOV_TOKEN" ]]; then
|
||||
echo CODECOV_TOKEN undefined
|
||||
|
@@ -10,5 +10,6 @@ rustup component add rustfmt-preview
|
||||
cargo build --verbose --features unstable
|
||||
cargo test --verbose --features unstable
|
||||
cargo bench --verbose --features unstable
|
||||
ci/coverage.sh
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user