fpco / stackage-cli

MIT License
28 stars 4 forks source link

Set up a Travis job to check multiple GHC versions #30

Closed snoyberg closed 9 years ago

snoyberg commented 9 years ago

This would hopefully prevent things like #29

snoyberg commented 9 years ago

More relevant information at: https://github.com/hvr/multi-ghc-travis

DanBurton commented 9 years ago

A Travis job to just compile it? Do we want to start building a test suite as well?

snoyberg commented 9 years ago

A test suite would be a good addition, yes (I'll never say "no, don't add tests" ;) ). For now, it would just be to compile.

drwebb commented 9 years ago

Here it makes sense to me to build the project using a stackage cabal config (a strange bootstrapping in the context of the project). When 7.10 support for stackage hits it would be nice to have this script select the proper version to download.

snoyberg commented 9 years ago

Actually, I'd recommend going the opposite route. The goal of the Travis job is to catch errors as early as possible. Using a Stackage config will limit us to known good combinations, which will minimize the chance of discovering a failure.

drwebb commented 9 years ago

Alright, I did not think about it that way. It does make perfect sense as this is the getting started with Stackage tool and many new users will probably be compiling it based off of whatever is on Hackage.