ghc-mod/.travis.yml

27 lines
509 B
YAML
Raw Normal View History

language: haskell
ghc:
- 7.4
- 7.6
- 7.8
install:
2014-05-01 01:07:10 +00:00
- cabal update
- cabal install happy
- 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*/
2014-05-01 01:07:10 +00:00
- cabal configure --enable-tests
- cabal build
- cabal test
matrix:
allow_failures:
- env: GHCVER=head