2014-12-02 17:24:10 +01:00
|
|
|
language: haskell
|
|
|
|
|
2015-04-20 19:52:29 +02:00
|
|
|
env:
|
|
|
|
- CABALVER=1.18 GHCVER=7.8.4
|
|
|
|
- CABALVER=1.22 GHCVER=7.10.1
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
|
|
|
|
- travis_retry sudo apt-get update
|
|
|
|
- travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
|
|
|
|
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
|
|
|
|
- travis_retry cabal update
|
2014-12-02 17:45:24 +01:00
|
|
|
|
2015-04-20 13:38:25 +02:00
|
|
|
install:
|
2015-04-20 19:52:29 +02:00
|
|
|
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
|
|
|
|
- cabal --version
|
2015-04-20 13:38:25 +02:00
|
|
|
|
2015-01-29 01:18:16 +01:00
|
|
|
script:
|
2015-04-20 11:57:55 +02:00
|
|
|
- ./scripts/test-all.sh
|
2015-02-19 20:32:05 +01:00
|
|
|
|
2015-08-31 23:28:21 +02:00
|
|
|
after_script:
|
|
|
|
- cabal install hpc-coveralls
|
|
|
|
- hpc-coveralls servant-server/test
|
|
|
|
|
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
|