Coverage is now working

This commit is contained in:
Pavan Kumar Sunkara 2020-04-09 18:54:43 +02:00
parent cceb29623a
commit 2385ff8621
2 changed files with 3 additions and 4 deletions

View file

@ -26,7 +26,6 @@ branches:
jobs:
allow_failures:
- rust: nightly
- name: Coverage
fast_finish: true
include:
- os: osx
@ -58,7 +57,7 @@ jobs:
- zlib1g-dev
update: true
before_script:
- cargo install cargo-tarpaulin
- cargo install cargo-tarpaulin --git git://github.com/pksunkara/tarpaulin --branch develop
script:
- cargo tarpaulin --workspace --features "yaml unstable" --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
script:

View file

@ -92,8 +92,8 @@ wrap_help = ["term_size", "textwrap/term_size"]
derive = ["clap_derive", "lazy_static"]
yaml = ["yaml-rust"]
cargo = [] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
unstable = [] # for building with unstable clap features (doesn't require nightly Rust) (currently none)
debug = [] # Enables debug messages
unstable = ["clap_derive/unstable"] # for building with unstable clap features (doesn't require nightly Rust) (currently none)
debug = ["clap_derive/debug"] # Enables debug messages
doc = ["yaml"] # All the features which add to documentation
[profile.dev]