From 5cd222036647e81e6d1456c0bd8e5addfe30dc3f Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Mon, 7 Dec 2015 17:54:28 -0500 Subject: [PATCH] Add coverall support and use new TravisCI Infrastructure --- racket/collects/pkg/private/new.rkt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/racket/collects/pkg/private/new.rkt b/racket/collects/pkg/private/new.rkt index 5e7ae44c69..14edbefda6 100644 --- a/racket/collects/pkg/private/new.rkt +++ b/racket/collects/pkg/private/new.rkt @@ -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 <>` 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 <> -after_script: +after_success: + - raco setup --check-deps <> + - 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 )))