From 3a8ff62a3137eace1105333c110ed31519df0eb7 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Fri, 26 Feb 2021 16:27:29 +0000 Subject: [PATCH] Turn off coverage in older versions --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fdd7ecc..8d1c15d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ install: script: - raco test -r -p "$(basename "$TRAVIS_BUILD_DIR")" - raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")" -- raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")" -- raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true +- if $COV; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")"; fi +- if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi # TODO: add an option to cover to run the "outer" module too, not just the submodules. # TODO: deploy the coverage info.