Disable coverage on macOS.

pull/27/head
kennytm 2019-04-19 03:34:20 +08:00
parent de70fed289
commit 1aa87a1d24
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C
1 changed files with 6 additions and 3 deletions

View File

@ -36,7 +36,10 @@ script:
- cargo test --target i686-$OS
after_success:
- cargo install cargo-kcov
- cargo kcov --print-install-kcov-sh | bash
- cargo kcov --coveralls
- >
if [ "$TRAVIS_OS_NAME" = 'linux' ]; then
cargo install cargo-kcov &&
( cargo kcov --print-install-kcov-sh | bash ) &&
cargo kcov --coveralls
fi