From 13604ee5dbdc151d2489c42833bcf5b44d9d7f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 9 May 2017 20:22:32 +0200 Subject: [PATCH] Drop older versions which lack prerequisites --- .travis.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 92b1669..85a4a18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,31 +8,27 @@ env: - PATH="$RACKET_DIR/bin:$PATH" matrix: # RACKET_VERSION is an argument to install-racket.sh - - RACKET_VERSION=6.0 COV=false - - RACKET_VERSION=6.1 COV=false - - RACKET_VERSION=6.1.1 COV=false - - RACKET_VERSION=6.2 COV=false - - RACKET_VERSION=6.3 COV=true - - RACKET_VERSION=6.4 COV=true - - RACKET_VERSION=6.5 COV=true - - RACKET_VERSION=6.6 COV=true - - RACKET_VERSION=6.7 COV=true - - RACKET_VERSION=6.8 COV=true - - RACKET_VERSION=6.9 COV=true - - RACKET_VERSION=RELEASE COV=true - - RACKET_VERSION=HEAD COV=true + - RACKET_VERSION=6.3 + - RACKET_VERSION=6.4 + - RACKET_VERSION=6.5 + - RACKET_VERSION=6.6 + - RACKET_VERSION=6.7 + - RACKET_VERSION=6.8 + - RACKET_VERSION=6.9 + - RACKET_VERSION=RELEASE + - RACKET_VERSION=HEAD before_install: - curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash -- if $COV; then raco pkg install --deps search-auto doc-coverage cover cover-codecov; fi # or cover-coveralls +- raco pkg install --deps search-auto doc-coverage cover cover-codecov # or cover-coveralls install: - raco pkg install --deps search-auto -j 2 script: - raco test -x -p "$(basename "$TRAVIS_BUILD_DIR")" -- if $COV; then raco setup --check-pkg-deps --unused-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")"; fi -- if $COV; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")"; fi -- if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi +- raco setup --check-pkg-deps --unused-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")" +- raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")" +- raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true # TODO: add an option to cover to run the "outer" module too, not just the submodules. # TODO: deploy the coverage info. \ No newline at end of file