Use Travis CI with Racket
![]() Although that's the default for release builds, the nightly builds default to e.g. /usr/racket-5.90.0.9. Although that default makes sense where people are doing side-by-side installs, we're doing an install on a throw-away Travis VM. More basically, we need the build scripts to find stuff consistently in /usr/racket regardless of whether this is a release or HEAD. |
||
---|---|---|
.gitignore | ||
.travis.yml | ||
install-racket.sh | ||
main.rkt | ||
README.md |
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.
CAVEAT: This downloads the ~75MB Racket installer and runs it for each and every build! In other words, this is a hack. The un-hack would be (IIUC) to add a Travis CI "cookbook" for Racket.
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.
Here's a "badge" showing the status for the master
branch of this
repo: