Disable coverage on macOS.

This commit is contained in:
kennytm 2019-04-19 03:34:20 +08:00
parent cbc6cd3192
commit 90811d79ba

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