slideshow icon indicating copy to clipboard operation
slideshow copied to clipboard

Add travis CI

Open bennn opened this issue 8 years ago • 0 comments

I think this .travis.yml (adapted from racket/rackunit) is close to what racket/slideshow should use:

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://plt.eecs.northwestern.edu/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 --auto $PKG
- ls $HOME/.racket/download-cache

script:
- raco test --drdr -c $PKG

bennn avatar Dec 02 '17 16:12 bennn