Turn off coverage in older versions
This commit is contained in:
parent
65fe72e4d6
commit
2cb6125abe
14
.travis.yml
14
.travis.yml
|
@ -28,9 +28,9 @@ env:
|
||||||
#- RACKET_VERSION=6.4
|
#- RACKET_VERSION=6.4
|
||||||
#- RACKET_VERSION=6.5
|
#- RACKET_VERSION=6.5
|
||||||
#- RACKET_VERSION=6.6
|
#- RACKET_VERSION=6.6
|
||||||
- RACKET_VERSION=6.8
|
- RACKET_VERSION=6.8 COVER=false
|
||||||
- RACKET_VERSION=6.9
|
- RACKET_VERSION=6.9 COVER=true
|
||||||
- RACKET_VERSION=HEAD
|
- RACKET_VERSION=HEAD COVER=true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
@ -53,12 +53,12 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- raco test -p phc-graph
|
- 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 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
|
- if $COVER; then raco pkg install --deps search-auto doc-coverage; fi
|
||||||
- raco doc-coverage phc-graph
|
- if $COVER; then raco doc-coverage phc-graph; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- raco pkg install --deps search-auto cover cover-coveralls
|
- if $COVER; then raco pkg install --deps search-auto cover cover-coveralls; fi
|
||||||
- raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .
|
- if $COVER; then raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- sh ./auto-push-master.sh
|
- sh ./auto-push-master.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user