.travis.yml (2392B)
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.0 COV=false 12 - RACKET_VERSION=6.1 COV=false 13 - RACKET_VERSION=6.1.1 COV=false 14 - RACKET_VERSION=6.2 COV=false 15 - RACKET_VERSION=6.3 COV=false 16 - RACKET_VERSION=6.4 COV=false 17 - RACKET_VERSION=6.5 COV=false 18 - RACKET_VERSION=6.6 COV=false 19 - RACKET_VERSION=6.7 COV=false 20 - RACKET_VERSION=6.8 COV=false 21 - RACKET_VERSION=6.9 COV=true 22 - RACKET_VERSION=6.10 COV=true 23 - RACKET_VERSION=6.10.1 COV=true 24 - RACKET_VERSION=6.11 COV=true 25 - RACKET_VERSION=6.12 COV=true 26 - RACKET_VERSION=7.0 COV=true 27 - RACKET_VERSION=7.1 COV=true 28 - RACKET_VERSION=7.2 COV=true 29 - RACKET_VERSION=7.3 COV=true 30 - RACKET_VERSION=7.4 COV=true 31 - RACKET_VERSION=7.5 COV=true 32 - RACKET_VERSION=7.6 COV=true 33 - RACKET_VERSION=7.7 COV=true 34 - RACKET_VERSION=7.8 COV=true 35 - RACKET_VERSION=7.9 COV=true 36 - RACKET_VERSION=8.0 COV=true 37 - RACKET_VERSION=8.0 RACKET_CS=1 COV=true 38 - RACKET_VERSION=HEAD COV=true 39 40 before_install: 41 - curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash 42 - if $COV; then raco pkg install --deps search-auto doc-coverage cover cover-codecov; fi # or cover-coveralls 43 44 install: 45 - raco pkg install --deps search-auto -j 2 46 47 script: 48 - raco test -r -p "$(basename "$TRAVIS_BUILD_DIR")" 49 - if $COV; then raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")"; fi 50 - if $COV; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")"; fi 51 - if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi 52 # TODO: add an option to cover to run the "outer" module too, not just the submodules. 53 # TODO: deploy the coverage info.