www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c688a66bebeaf33ecce032fa9cf7a50a2d7d2c7c
parent ea3be45d45f4f961478454b0071c1f9a42ff678d
Author: Suzanne Soy <ligo@suzanne.soy>
Date:   Fri,  5 Mar 2021 14:32:35 +0000

Turn off coverage in older versions

Diffstat:
M.travis.yml | 37++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -9,24 +9,24 @@ env: matrix: # RACKET_VERSION is an argument to install-racket.sh #- RACKET_VERSION=6.3 # scribble/example is available on ≥ 6.4 - - RACKET_VERSION=6.4 - - RACKET_VERSION=6.5 - - RACKET_VERSION=6.6 - - RACKET_VERSION=6.7 - - RACKET_VERSION=6.8 - - RACKET_VERSION=6.9 - - RACKET_VERSION=6.10 - - RACKET_VERSION=6.10.1 - - RACKET_VERSION=6.11 - - RACKET_VERSION=6.12 - - RACKET_VERSION=7.0 - - RACKET_VERSION=7.1 - - RACKET_VERSION=7.2 - - RACKET_VERSION=HEAD + - RACKET_VERSION=6.4 COVER=false + - RACKET_VERSION=6.5 COVER=false + - RACKET_VERSION=6.6 COVER=false + - RACKET_VERSION=6.7 COVER=false + - RACKET_VERSION=6.8 COVER=false + - RACKET_VERSION=6.9 COVER=true + - RACKET_VERSION=6.10 COVER=true + - RACKET_VERSION=6.10.1 COVER=true + - RACKET_VERSION=6.11 COVER=true + - RACKET_VERSION=6.12 COVER=true + - RACKET_VERSION=7.0 COVER=true + - RACKET_VERSION=7.1 COVER=true + - RACKET_VERSION=7.2 COVER=true + - RACKET_VERSION=HEAD COVER=true before_install: - curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash -- raco pkg install --deps search-auto doc-coverage cover cover-codecov # or cover-coveralls +- if $COVER; then raco pkg install --deps search-auto doc-coverage cover cover-codecov; fi # or cover-coveralls install: - raco pkg install --deps search-auto -j 2 @@ -34,7 +34,7 @@ install: script: - raco test -r -p "$(basename "$TRAVIS_BUILD_DIR")" - raco setup --check-pkg-deps --unused-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")" -- raco doc-coverage -s '^ ' "$(basename "$TRAVIS_BUILD_DIR")" -- raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true +- if $COVER; then raco doc-coverage -s '^ ' "$(basename "$TRAVIS_BUILD_DIR")"; fi +- if $COVER; 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. -\ No newline at end of file +# TODO: deploy the coverage info.