-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This moves the coverage generation from Travis CI to CircleCI. On Travis CI, this job would start last and thus make the build time longer -- with CircleCI, we now have four extra Docker containers at our disposal. They start significantly faster than the Google Compute Engine instances used by Travis CI, which further helps to ensure a quick turn around on the builds.
- Loading branch information
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: xd009642/tarpaulin | ||
steps: | ||
- checkout | ||
- run: | ||
name: Generate coverage report | ||
command: cargo tarpaulin --out Xml --features 'term_size hyphenation' | ||
- run: | ||
name: Upload to codecov.io | ||
command: bash <(curl -s https://codecov.io/bash) -Z -f cobertura.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters