Try compiler tests with docker and NWU snapshot.

This commit is contained in:
Sam Tobin-Hochstadt 2015-01-05 09:15:20 -05:00
parent e4af0cac26
commit c12902b36e

View File

@ -1,12 +1,18 @@
language: c language: c
sudo: false
cache:
directories:
- $HOME/.racket/download-cache
env: env:
- PATH=~/racket/bin:$PATH - PATH=~/racket/bin:$PATH
before_install: before_install:
- export PKG=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2` - export PKG=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`
- echo $PKG - echo $PKG
- curl -L -o installer.sh http://www.cs.utah.edu/plt/snapshots/current/installers/min-racket-current-x86_64-linux-precise.sh - curl -L -o installer.sh http://plt.eecs.northwestern.edu/snapshots/current/installers/min-racket-current-x86_64-linux-precise.sh
- sh installer.sh --in-place --dest ~/racket/ - sh installer.sh --in-place --dest ~/racket/
install: install:
@ -15,8 +21,8 @@ install:
- raco pkg config catalogs >> catalog-config.txt - raco pkg config catalogs >> catalog-config.txt
- raco pkg config --set catalogs `cat catalog-config.txt` - raco pkg config --set catalogs `cat catalog-config.txt`
- raco pkg install --deps search-auto $PKG-test - raco pkg install --deps search-auto $PKG-test
- raco pkg install --deps search-auto compiler-lib
- ls $HOME/.racket/download-cache
script: script:
- raco test -p $PKG-test - raco test -p $PKG-test
after_script: