@hackage / haskell-ci

Cabal package script generator for Travis-CI

Latest0.18.1

About

Metadata

  • Last updated , by phadej
  • License GPL-3.0-or-later
  • Categories Development
  • Maintained by: hvr@gnu.org

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.8.2
  2. 9.6.4
  3. 9.4.8
  4. 9.2.8
  5. 9.0.2
  6. 8.10.7
  7. 8.8.4
  8. 8.6.5
  9. 8.4.4
  10. 8.2.2

Package Flags

Use the -f option with cabal commands to enable flags

    shellcheck (on by default)

Readme

Script generator (haskell-ci) for GitHub Actions and Travis-CI for continuous-integration testing of Haskell Cabal packages.

Included features (not limited to):

  • Multiple GHC support

  • Dependency caching

  • cabal.project support (see Nix-style local builds documentation)

  • Runs tests and builds benchmarks

  • Generates Haddocks

  • GHCJS support

  • building with specific constraints

Quick Start Guide

Add a tested-with line to your .cabal file (e.g. tested-with: GHC == 8.0.2 || == 8.2.2) and then run haskell-ci yourpackage.cabal -o .travis.yml to generate the Travis-CI job script.

See haskell-ci --help for more information.