fix travis

This commit is contained in:
Paul Masurel
2018-07-10 13:08:22 +09:00
parent 39b98b2e76
commit 39551a0418

View File

@@ -10,7 +10,8 @@ main() {
return
fi
if [ -z $CODECOV ]; then
if [ ! -z $CODECOV ]; then
echo "Codecov"
cargo build --verbose && cargo coverage --verbose && bash <(curl -s https://codecov.io/bash) -s target/kcov
fi