From e9bc0dbe44e80a5281ddff21d5e9163b5c8f6dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Tue, 23 Jun 2020 11:11:39 +0200 Subject: [PATCH] run codecov only on linux --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fd12189..555ec9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ os: script: npx nyc -s yarn run test:node --bail after_success: - npm install -g travis-deploy-once - - travis-deploy-once "npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov" + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then travis-deploy-once "npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov"; fi jobs: include: