Turn off coverage in older versions

This commit is contained in:
Suzanne Soy 2021-03-05 04:49:09 +00:00
parent 65fe72e4d6
commit 2cb6125abe

View File

@ -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