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 6deb4c7 commit 67e247f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +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 67e247f

Please sign in to comment.