Skip to content

Commit

Permalink
add travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Boucey committed Oct 19, 2016
1 parent 2496c49 commit 5898252
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: c

sudo: false

cache:
directories:
- $HOME/.stack/

matrix:
include:
- env: CABALVER=1.22 GHCVER=7.10.3
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3],sources: [hvr-ghc]}}
- env: CABALVER=head GHCVER=head
addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}

before_install:
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar -xzO --wildcards '*/stack' > ~/.local/bin/stack
- chmod a+x ~/.local/bin/stack

install:
- stack setup --no-terminal

script:
- stack test --no-terminal
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Spintax
# Spintax [![Build Status](https://travis-ci.org/MichelBoucey/spintax.svg?branch=master)](https://travis-ci.org/MichelBoucey/spintax)

Random text generation based on spintax, i.e. spinning syntax, template with nested alternatives and empty options, like this:

Expand Down
4 changes: 2 additions & 2 deletions Spintax.cabal
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Spintax
version: 0.1.0.0
version: 0.1.0.1
synopsis: Random text generation based on spintax
description: Random text generation based on spintax with nested alternatives and empty options.
homepage: https://github.com/MichelBoucey/spintax
license: BSD3
license-file: LICENSE
author: Michel Boucey
maintainer: michel.boucey@gmail.com
maintainer: michel.boucey@cybervisible.fr
copyright: Copyright (c) 2016 - Michel Boucey
category: Text
build-type: Simple
Expand Down

0 comments on commit 5898252

Please sign in to comment.