26 lines
666 B
YAML
26 lines
666 B
YAML
langauge: c
|
|
sudo: false
|
|
env:
|
|
global:
|
|
- RACKET_DIR=~/racket
|
|
matrix:
|
|
- RACKET_VERSION=6.2
|
|
- RACKET_VERSION=6.2.1
|
|
- RACKET_VERSION=HEAD
|
|
|
|
before_install:
|
|
- git clone https://github.com/greghendershott/travis-racket.git ../travis-racket
|
|
- cat ../travis-racket/install-racket.sh | bash
|
|
- export PATH="${RACKET_DIR}/bin:${PATH}"
|
|
|
|
install: raco pkg install --deps search-auto $TRAVIS_BUILD_DIR
|
|
|
|
script:
|
|
- raco setup --check-deps trivial
|
|
- raco pkg install --deps search-auto cover
|
|
- raco pkg install --deps search-auto cover-coveralls
|
|
- raco test $TRAVIS_BUILD_DIR
|
|
|
|
after_success:
|
|
- raco cover -f coveralls -d $TRAVIS_BUILD_DIR/coverage -b .
|