Skip to content

Commit

Permalink
chore(ci): run coverage again
Browse files Browse the repository at this point in the history
Tarpaulin works with stable Rust
  • Loading branch information
Rasmus Thomsen authored and Rasmus Thomsen committed Feb 4, 2019
1 parent bd0c2f4 commit a23a52e
Showing 1 changed file with 47 additions and 1 deletion.
48 changes: 47 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,53 @@ steps:
status:
- failure
---
kind: pipeline
name: coverage

depends_on:
- rustfmt

steps:
- name: git
image: docker:git
commands:
- git submodule update --recursive --init
- name: generate-coverage
image: xd009642/tarpaulin:latest
pull: always
privileged: true
environment:
GIT_AUTHOR_EMAIL: drone
GIT_AUTHOR_NAME: [email protected]
commands:
- cargo tarpaulin --verbose --out Xml --timeout 3000 --exclude-files src/bin/** vendor/**

- name: upload-coverage
image: plugins/codecov
pull: always
environment:
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: drone
settings:
token:
from_secret: codecov_token
files:
- cobertura.xml
required: true

- name: matrix-notification
image: plugins/matrix
settings:
roomid: qOcHPTCOgAbkObQgRy:matrix.org
username:
from_secret: matrix_username
password:
from_secret: matrix_password
when:
status:
- failure
---
kind: signature
hmac: 96ee373504b5ab43b8317b1adb75412bcc785f4c68c50b82f40fde057fe9237d
hmac: c71afc104ce9658b014fa5907247664d72e42727be60511eea2e7a0f31e15aff

...

0 comments on commit a23a52e

Please sign in to comment.