mirror of
https://github.com/snoyberg/keter.git
synced 2024-12-13 19:28:17 +03:00
34 lines
871 B
YAML
34 lines
871 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=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
|