Skip to content

Dead simple setup tools for running a Haskell build matrix using stack for several versions.

License

Notifications You must be signed in to change notification settings

ChrisPenner/haskell-stack-travis-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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=1 from .travis.yml in the build matrix.
  • ...?
  • Profit

Building and shipping binaries:

  • Set the BUILD_BINARY=1 environment variable for each variation in the build matrix you want to ship.
  • Set a GITHUB_TOKEN environment variable for your project's builds in TravisCI; you can create a token here.
    • For a public repo select the public_repo scope
    • For a private repo select the repo scope

About

Dead simple setup tools for running a Haskell build matrix using stack for several versions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages