An update on using Travis CI with haskell

Travis CI grabs a copy of your code every time you push to github, builds it in a fresh virtual machine, runs the test suite and emails you the result. You can watch the build console in realtime on, and access previous build logs.

Yesterday I set up zoom-cache to be automatically tested, posted here, logged a bug report and chatted on #travis IRC with @michaelklishin. He updated the service to run "cabal update" when building vm images, and added $HOME/.cabal/bin to the $PATH:

The vm images are rebuilt every week or so, so the package database used will never be more than a week out of date. If you really need to test against bleeding-edge packages then you can still explicitly "cabal update".

Otherwise, unless you need to install extra build or test tools, you now don't need to specify an install stanza in your .travis.yml file; you can just use the one-liner "language: haskell".

So, assuming you have a cabalized project on github:

1. log in to using your github auth and select the project

2. echo "language: haskell" > .travis.yml && git add .travis.yml && git commit && git push

3. watch it build at
Shared publiclyView activity