commit 3a8ff62a3137eace1105333c110ed31519df0eb7
parent e01a5f21e1b10a5e28ae5b50d79ba303f385eee2
Author: Suzanne Soy <ligo@suzanne.soy>
Date: Fri, 26 Feb 2021 16:27:29 +0000
Turn off coverage in older versions
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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.