www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

.travis.yml (1278B)


      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.8     COV=true
     12     #- RACKET_VERSION=6.9     COV=true
     13     - RACKET_VERSION=7.0     COV=true
     14     - RACKET_VERSION=RELEASE COV=true
     15     - RACKET_VERSION=HEAD    COV=true
     16 
     17 before_install:
     18 - curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash
     19 - if $COV; then raco pkg install --deps search-auto doc-coverage cover cover-codecov; fi # or cover-coveralls
     20 
     21 install:
     22 - raco pkg install --deps search-auto -j 2
     23 
     24 script:
     25 - raco test -x -p "$(basename "$TRAVIS_BUILD_DIR")"
     26 - 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
     27 - if $COV; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")" || true; fi ############################# DOC-COVERAGE IS DISABLED WITH || true
     28 - if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi
     29 # TODO: add an option to cover to run the "outer" module too, not just the submodules.
     30 # TODO: deploy the coverage info.