diff --git a/.travis.yml b/.travis.yml index 563e7c1..68b06e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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