haskell-stack-travis-ci
haskell-stack-travis-ci copied to clipboard
Dead simple setup tools for running a Haskell build matrix using stack for several versions.
haskell-stack-travis-ci
Dead simple setup tools for running a Haskell build matrix using stack for several versions.
Scripts are adapted from those used for haskell stack's build process; as well as stealing a bit of @tfausak's workflow.
To test builds for a Haskell project using stack:
cp haskell-stack-travis-ci/.travis* my-project/- Optionally add/remove GHC version build matrix targets inside
.travis.yml. - For Libraries without binaries remove
BUILD_BINARY=1from.travis.ymlin the build matrix. - ...?
- Profit
Building and shipping binaries:
- Set the
BUILD_BINARY=1environment variable for each variation in the build matrix you want to ship. - Set a
GITHUB_TOKENenvironment variable for your project's builds in TravisCI; you can create a token here.- For a public repo select the
public_reposcope - For a private repo select the
reposcope
- For a public repo select the