Use Travis CI with Racket
Go to file
Greg Hendershott ebbc14e18b Support Travis CI containers. Fixes #5.
Change install-racket.sh to:

- Use a RACKET_DIR env var saying where to install Racket. For backwards
  compatibility, if undefined this defaults to /usr/racket.

- Don't use sudo unless installing to /usr*.

- Download nightly snapshot builds from Northwestern not Utah.
  See https://github.com/travis-ci/travis-ci/issues/3012

- Fix the here string (which was slightly broken all along, although in
  a way that had been harmless).

Change the example .travis.yml to:

- Split env into global and matrix sections.

- Specify RACKET_DIR as a global var.

- Specify the RACKET_VERSIONs as matrix vars.

- Set PATH from RACKET_DIR (because install-racket.sh can't do this --
  it can't change the env for the .travis.yml).
2015-01-12 22:07:23 -05:00
.gitignore Initial commit. 2013-07-02 14:12:46 -04:00
.travis.yml Support Travis CI containers. Fixes #5. 2015-01-12 22:07:23 -05:00
install-racket.sh Support Travis CI containers. Fixes #5. 2015-01-12 22:07:23 -05:00
main.rkt Add comment. 2013-07-02 14:20:29 -04:00
README.md README bash not sh 2014-02-27 09:40:14 -05:00

Experimenting with using Travis CI for a Racket project.

Until Travis CI gets built-in support for Racket, we can use the before_install clause of .travis.yml to download and run the Racket installer.

To add this capability to your project, simply add the example .travis.yml to your repo. You may need to change its script section's raco make and raco test parts.

NOTE: In the before_install: step, be sure to pipe the install-racket.sh script to bash (not to sh).

Here's a "badge" showing the status for the master branch of this repo:

Build Status