diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c9e8617 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: c +sudo: false +env: + global: + - RACKET_DIR=~/racket + matrix: + - RACKET_VERSION="6.3" + - RACKET_VERSION="6.4" + - RACKET_VERSION="6.5" + - RACKET_VERSION="6.6" + - RACKET_VERSION="6.7" + - RACKET_VERSION="6.8" + - RACKET_VERSION="HEAD" +matrix: + allow_failures: + - env: 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 --auto turnstile + +script: + - raco test -p turnstile + - raco setup diff --git a/README.md b/README.md index f389337..6661a1e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +# macrotypes [![Build Status](https://travis-ci.org/stchang/macrotypes.svg?branch=master)](https://travis-ci.org/stchang/macrotypes) [![Scribble Docs](https://img.shields.io/badge/Docs-Scribble%20-blue.svg)](http://docs.racket-lang.org/turnstile/index.html) + +A Racket language for creating typed embedded DSLs + +`raco pkg install turnstile` + - all languages from the paper are in implemented with both Racket syntax (in `macrotypes/examples/`) and Turnstile syntax (in `turnstile/examples/`) - see `macrotypes/examples/README.md` for language reuse information