add travis script

This commit is contained in:
Stephen Chang 2017-01-26 13:19:43 -05:00
parent ba15bbd32f
commit 4522ccd598
2 changed files with 34 additions and 0 deletions

28
.travis.yml Normal file
View File

@ -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

View File

@ -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