commit 2cb6125abeca25fbc8dd971ddf0c440b2f986a9c parent 65fe72e4d69f278f46795e810fecd0c2bfb5d203 Author: Suzanne Soy <ligo@suzanne.soy> Date: Fri, 5 Mar 2021 04:49:09 +0000 Turn off coverage in older versions Diffstat:
| M | .travis.yml | | | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -28,9 +28,9 @@ env: #- RACKET_VERSION=6.4 #- RACKET_VERSION=6.5 #- RACKET_VERSION=6.6 - - RACKET_VERSION=6.8 - - RACKET_VERSION=6.9 - - RACKET_VERSION=HEAD + - RACKET_VERSION=6.8 COVER=false + - RACKET_VERSION=6.9 COVER=true + - RACKET_VERSION=HEAD COVER=true matrix: allow_failures: @@ -53,12 +53,12 @@ before_script: script: - raco test -p phc-graph - raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs phc-graph - - raco pkg install --deps search-auto doc-coverage - - raco doc-coverage phc-graph + - if $COVER; then raco pkg install --deps search-auto doc-coverage; fi + - if $COVER; then raco doc-coverage phc-graph; fi after_success: - - raco pkg install --deps search-auto cover cover-coveralls - - raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage . + - if $COVER; then raco pkg install --deps search-auto cover cover-coveralls; fi + - if $COVER; then raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .; fi after_success: - sh ./auto-push-master.sh