ghc-mod/.travis.yml
Daniel Gröber fb6def45b7 Add temporary workaround for monad-journal
.. just until upstream uploads the changes to hackage
2014-08-06 19:38:42 +02:00

29 lines
695 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
- git clone -b for-ghc-mod https://github.com/DanielG/monad-journal.git
- cabal install ./monad-journal --constraint 'transformers <= 0.3.0.0'
- 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