Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
ci: tweak travis code coverage configuration
Browse files Browse the repository at this point in the history
* It appears that the ICE reported in rust-lang/rust#47309 as regressed
into the latest stable version. This change moves coverage collection to
use stable 1.20.0 instead
* Also run code coverage in a dedicated VM instead of a Docker container
as a workaround for travis-ci/travis-ci#9061
  • Loading branch information
ipetkov committed Feb 18, 2018
1 parent 41baa67 commit cfbae23
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@ addons:

matrix:
include:
- rust: nightly

- rust: stable # Running kcov on stable due to an ICE on nightly: https://github.com/rust-lang/rust/issues/47309
- rust: 1.20.0 # Running kcov on (older) stable due to an ICE: https://github.com/rust-lang/rust/issues/47309
sudo: required # Work around for travis-ci/travis-ci#9061
env:
- RUSTFLAGS="-C link-dead-code" # Enable better code coverage at the cost of binary size
after_success:
- ./ci/install-kcov.sh && ./ci/coverage.sh

- rust: nightly
- rust: beta
- rust: 1.20.0
- rust: stable
- os: osx
rust: stable

Expand Down

0 comments on commit cfbae23

Please sign in to comment.