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
|
2015-01-29 00:07:01 +01:00
|
|
|
- ./test-docs.sh
|
|
|
|
|
2015-02-19 20:32:05 +01:00
|
|
|
after_script:
|
2015-02-20 12:41:33 +01:00
|
|
|
- |
|
|
|
|
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
|