784660c8ad
To prevent double messages and double builds.
30 lines
723 B
YAML
30 lines
723 B
YAML
language: haskell
|
|
|
|
ghc:
|
|
- 7.8
|
|
|
|
script:
|
|
- cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test
|
|
- cabal check
|
|
- cabal sdist
|
|
- cabal install doctest
|
|
- ./test-docs.sh
|
|
|
|
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
|
|
|
|
|
|
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
|