servant/.travis.yml

35 lines
858 B
YAML
Raw Normal View History

2014-12-02 17:26:05 +01:00
language: haskell
ghc:
- 7.8
before_install:
- git clone https://github.com/haskell-servant/servant.git
2015-03-02 15:56:02 +01:00
- git clone https://github.com/haskell-servant/servant-server.git
- cabal sandbox init
- cabal sandbox add-source servant/
2015-03-02 15:56:02 +01:00
- cabal sandbox add-source servant-server/
2015-02-19 20:53:37 +01:00
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
2014-12-02 17:26:05 +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