ghc-mod/.travis.yml
2014-07-04 19:03:57 +02:00

27 lines
548 B
YAML

language: haskell
ghc:
- 7.4
- 7.6
- 7.8
install:
- cabal update
- cabal install happy --constraint 'transformers <= 0.3.0.0'
- happy --version
- cabal install -j --only-dependencies --enable-tests
script:
- cabal check
- cabal sdist
- export SRC_TGZ="$PWD/dist/$(cabal info . | awk '{print $2 ".tar.gz";exit}')"
- rm -rf /tmp/test && mkdir -p /tmp/test
- cd /tmp/test
- tar -xf $SRC_TGZ && cd ghc-mod*/
- cabal configure --enable-tests
- cabal build
- cabal test
matrix:
allow_failures:
- env: GHCVER=head