keter/.travis.yml
2015-04-08 11:06:42 +03:00

35 lines
911 B
YAML

language: haskell
before_install:
env:
#- GHCVER=7.4.2 CABALVER=1.18
- GHCVER=7.6.3 CABALVER=1.18
- GHCVER=7.8.4 CABALVER=1.18
- GHCVER=7.10.1 CABALVER=1.22
- GHCVER=head CABALVER=head
matrix:
allow_failures:
- env: GHCVER=7.10.1 CABALVER=1.22
- env: GHCVER=head CABALVER=head
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:$HOME/.cabal/bin:$PATH
- cabal --version
install:
- travis_retry cabal update
- cabal install --only-dependencies --enable-tests
script:
- cabal configure --enable-tests
#--enable-library-coverage || cabal configure --enable-tests --enable-coverage
- cabal build
- cabal test
#after_script:
# - cabal install hpc-coveralls
# - hpc-coveralls --exclude-dir=test test