Test travis on this repository, which has fewer dependencies.

This commit is contained in:
Sam Tobin-Hochstadt 2014-12-10 10:55:01 -05:00
parent 9ccd498cae
commit 0e9db59745

28
.travis.yml Normal file
View File

@ -0,0 +1,28 @@
language: c
sudo: false
cache:
directories:
- $HOME/.racket/download-cache
env:
- PATH=~/racket/bin:$PATH
before_install:
- export PKG=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`
- echo $PKG
- curl -L -o installer.sh http://www.cs.utah.edu/plt/snapshots/current/installers/min-racket-current-x86_64-linux-precise.sh
- sh installer.sh --in-place --dest ~/racket/
install:
- racket -l- pkg/dirs-catalog --link --check-metadata pkgs-catalog .
- echo file://`pwd`/pkgs-catalog/ > catalog-config.txt
- raco pkg config catalogs >> catalog-config.txt
- raco pkg config --set catalogs `cat catalog-config.txt`
- raco pkg install --deps search-auto $PKG-test
script:
- raco test -p $PKG-test
after_script: