项目作者: joshbohde

项目描述 :
A Travis CI & Appveyor template to test your Haskell application and publish binary releases.
高级语言: Shell
项目地址: git://github.com/joshbohde/haskell-ci.git
创建时间: 2018-01-24T02:52:06Z
项目社区:https://github.com/joshbohde/haskell-ci

开源协议:Other

下载


Haskell CI

Build Status
Build status
GitHub release

A Travis CI & Appveyor template to test your Haskell application and publish binary releases for Linux, Mac and Windows on Github.

Inspired by trust.

Why

Haskell binaries usually have install instructions of cabal install or stack install. At best, this requires users to spend time downloading and compiling packages. Sometimes this requires debugging package or LTS versions, and may prevent folks from ever getting started.

This template allows you to provide prebuilt binaries for your users, saving time.

Install

Things you’ll need

Enable your repository

  1. Enable your repository in Travis CI by visiting your dashboard and visiting your profile.
  2. Enable your repository in Appveyor by visiting the new project page and adding your repository.

Copy the template

  1. Copy the ci directory, and the appveyor.yml and .travis.yml files into your project directory.
  2. In appveyor.yml and .travis.yml, follow the instructions for each TODO section.
  3. Commit those changes, and push them to your repository.
  4. You should now see your project being built on your Travis CI dashboard, and your Appveyor projects page.

Using

In order to have Travis CI and Appveyor build binaries for you, you’ll need to push a git tag that adheres to the Package Versioning Policy.

For example, if you were to release version 1.2.1, you’d do the following:

  1. # Do your usual release process
  2. $ git tag v1.2.1
  3. $ git push --tags

At this point, Travis CI and Appveyor will recognize this as a release, will build binaries for Linux, Mac, and Windows, and create a new GitHub release with those binaries. For example, see this projects release page.

Contributing

Pull requests and issues are enthusiastically accepted.

By participating in this project you agree to follow our Code of Conduct.