diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a588364 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 343a99e..c9140e1 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/Spintax.cabal b/Spintax.cabal index 9c5e066..d3b2177 100644 --- a/Spintax.cabal +++ b/Spintax.cabal @@ -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