Skip to content

Commit

Permalink
Merge pull request #169 from mgeisler/circleci-machine-image
Browse files Browse the repository at this point in the history
Run cargo tarpaulin in a machine image
  • Loading branch information
mgeisler committed Aug 4, 2019
2 parents 065a782 + b131b52 commit 21412f1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .circleci/config.yml
@@ -1,13 +1,18 @@
version: 2
jobs:
build:
docker:
- image: xd009642/tarpaulin
machine: true
steps:
- checkout
- run:
name: Pull xd009642/tarpaulin
command: docker pull xd009642/tarpaulin
- run:
name: Generate coverage report
command: cargo tarpaulin --out Xml --all-features
command: >-
docker run --security-opt seccomp=unconfined
-v $PWD:/volume xd009642/tarpaulin
cargo tarpaulin --out Xml --all-features
- run:
name: Upload to codecov.io
command: bash <(curl -s https://codecov.io/bash) -Z -f cobertura.xml

0 comments on commit 21412f1

Please sign in to comment.