Add coverall support and use new TravisCI Infrastructure
This commit is contained in:
parent
4d7e90286e
commit
5cd2220366
|
@ -99,11 +99,8 @@ language: c
|
|||
|
||||
# Based from: https://github.com/greghendershott/travis-racket
|
||||
|
||||
# Optional: To use Travis CI's newer container infrastucture,
|
||||
# un-comment the following line. (Also be sure RACKET_DIR is set to
|
||||
# somewhere like ~/racket that doesn't require sudo.)
|
||||
#
|
||||
# sudo: false
|
||||
# Optional: Remove to use Travis CI's older infrastructure.
|
||||
sudo: false
|
||||
|
||||
env:
|
||||
global:
|
||||
|
@ -120,9 +117,6 @@ env:
|
|||
# Supply more than one RACKET_VERSION (as in the example below) to
|
||||
# create a Travis-CI build matrix to test against multiple Racket
|
||||
# versions.
|
||||
# - RACKET_VERSION=5.3.4
|
||||
# - RACKET_VERSION=5.3.5
|
||||
# - RACKET_VERSION=5.92
|
||||
- RACKET_VERSION=6.0
|
||||
- RACKET_VERSION=6.1
|
||||
- RACKET_VERSION=6.1.1
|
||||
|
@ -149,10 +143,14 @@ before_script:
|
|||
# `raco pkg install --deps search-auto <<name>>` to install any required
|
||||
# packages without it getting stuck on a confirmation prompt.
|
||||
script:
|
||||
- raco pkg install --deps search-auto
|
||||
- raco pkg install --deps search-auto cover
|
||||
- raco test -x -p <<name>>
|
||||
|
||||
after_script:
|
||||
after_success:
|
||||
- raco setup --check-deps <<name>>
|
||||
- raco pkg install --deps search-auto cover-coveralls
|
||||
- raco pkg install --deps search-auto
|
||||
- raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .
|
||||
|
||||
EOS
|
||||
)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user