servant/.travis.yml

31 lines
723 B
YAML
Raw Normal View History

2014-12-02 17:24:10 +01:00
language: haskell
2014-12-02 17:45:24 +01:00
ghc:
- 7.8
2015-01-29 01:18:16 +01:00
script:
2015-02-19 20:32:05 +01:00
- cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test
2015-01-29 01:18:16 +01:00
- cabal check
- cabal sdist
- cabal install doctest
- ./test-docs.sh
2015-02-19 20:32:05 +01:00
after_script:
- |
if [ "$TRAVIS_PULL_REQUEST" -eq "$TRAVIS_PULL_REQUEST" ] 2>/dev/null ; then
cabal install hpc-coveralls
hpc-coveralls --exclude-dir=test spec
fi
2015-02-19 20:32:05 +01:00
2014-12-02 17:24:10 +01:00
notifications:
irc:
channels:
- "irc.freenode.org#servant"
template:
- "%{repository}#%{build_number} - %{commit} on %{branch} by %{author}: %{message}"
- "Build details: %{build_url} - Change view: %{compare_url}"
skip_join: true
on_success: change
on_failure: always