Skip to content

Commit

Permalink
.drone.yml: fix the CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingshen Sun committed Jun 28, 2018
1 parent 8a362de commit 69760ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .drone.yml
Expand Up @@ -2,19 +2,17 @@ pipeline:
build:
image: ${RUST_VERSION}
secrets: [ coveralls_token ]
environment:
- RUST_COV_VERSION="rustlang/rust:nightly"
commands:
- rustup show
- cargo build
- cargo test
- |
if [ "${RUST_VERSION}" = "${RUST_COV_VERSION}" ]; then
if [ "${RUST_VERSION}" = "rustlang/rust:nightly" ]; then
apt-get update
apt-get install -y --no-install-recommends lcov llvm ruby
gem install coveralls-lcov
./util/run-cov.sh
coveralls-lcov -t ${COVERALLS_TOKEN} final.info
coveralls-lcov -t $COVERALLS_TOKEN final.info
fi
matrix:
Expand Down

0 comments on commit 69760ea

Please sign in to comment.