servant/.travis.yml
2015-03-02 15:56:02 +01:00

34 lines
858 B
YAML

language: haskell
ghc:
- 7.8
before_install:
- git clone https://github.com/haskell-servant/servant.git
- git clone https://github.com/haskell-servant/servant-server.git
- cabal sandbox init
- cabal sandbox add-source servant/
- cabal sandbox add-source servant-server/
install:
- cabal install --only-dependencies --enable-tests
script:
- cabal configure --enable-tests --enable-library-coverage
- cabal build && cabal test
- cabal check
after_script:
- cabal install hpc-coveralls
- hpc-coveralls --exclude-dir=test spec
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