language: haskell ghc: - 7.8 before_install: - cabal update - cabal sandbox init install: - cabal install --only-dependencies --enable-tests script: - cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test - cabal check - cabal sdist after_script: - | if [ "$TRAVIS_PULL_REQUEST" -eq "$TRAVIS_PULL_REQUEST" ] 2>/dev/null || [ "$TRAVIS_BRANCH" == "master" ] ; then cabal install hpc-coveralls hpc-coveralls --exclude-dir=test spec doctests 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