Use Travis CI with Racket
Go to file
Greg Hendershott 9fc629c3cc Try getting install-racket.sh using git clone instead of curl
History/background:

1. Originally, used curl with raw.github.com to get the latest version
of install-racket.sh.

2. But GitHub discourages using raw.github.com. So switched to using the
GitHub "releases" feature to make install-racket.sh available. But
that's a PITA: (a) Need to make each release, and furthermore (b)
there's no URL meaning "the latest version of the file to be
downloaded" for the .travis.yml scripts to use, so they tediously need
to be updated to fetch using the new URL for the new version.

3. OK, so now -- how about simply cloning the GitHub repo locally, and
using the travis-racket.sh from that (which of course will be the latest
version).
2014-06-06 14:42:57 -04:00
.gitignore Initial commit. 2013-07-02 14:12:46 -04:00
.travis.yml Try getting install-racket.sh using git clone instead of curl 2014-06-06 14:42:57 -04:00
install-racket.sh Use -L with curl for download of Racket installer. 2014-03-13 16:29:43 -04: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