.travis.yml (1560B)
1 language: c 2 sudo: false 3 4 env: 5 global: 6 # RACKET_DIR is an argument to install-racket.sh 7 - RACKET_DIR=~/racket 8 - PATH="$RACKET_DIR/bin:$PATH" 9 matrix: 10 # RACKET_VERSION is an argument to install-racket.sh 11 #- RACKET_VERSION=6.6 # tests fail with a typed/racket bug: "make-chaperone-contract::late-neg-projection: contract violation" 12 - RACKET_VERSION=6.7 COVER=false 13 - RACKET_VERSION=6.8 COVER=false 14 - RACKET_VERSION=6.9 COVER=true 15 - RACKET_VERSION=6.10 COVER=true 16 - RACKET_VERSION=6.10.1 COVER=true 17 - RACKET_VERSION=6.11 COVER=true 18 - RACKET_VERSION=6.12 COVER=true 19 - RACKET_VERSION=7.0 COVER=true 20 - RACKET_VERSION=7.1 COVER=true 21 - RACKET_VERSION=7.2 COVER=true 22 - RACKET_VERSION=HEAD COVER=true 23 24 before_install: 25 - curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash 26 - if $COVER; then raco pkg install --deps search-auto doc-coverage cover cover-codecov; fi # or cover-coveralls 27 28 install: 29 - raco pkg install --deps search-auto -j 2 30 31 script: 32 - raco test -r -p "$(basename "$TRAVIS_BUILD_DIR")" 33 - raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")" 34 - if $COVER; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")"; fi 35 - if $COVER; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi 36 # TODO: add an option to cover to run the "outer" module too, not just the submodules. 37 # TODO: deploy the coverage info.