language: haskell

install:
  - cabal install cabal-dev
  - cabal-dev install regex-compat regex-posix containers-0.5.2.1 LambdaHack --force-reinstalls --reinstall --constraint=template-haskell==2.7.0.0 --solver=modular
  - cabal-dev install --enable-tests --reinstall --constraint=template-haskell==2.7.0.0 --solver=modular

script:
  - cabal-dev configure --enable-tests && cabal-dev build && cabal-dev test

language: haskell

install:
  - cabal install cabal-dev
  - cabal install gtk2hs-buildtools
  - cabal-dev install regex-compat containers-0.5.2.1 cairo --force-reinstalls --reinstall --constraint=template-haskell==2.7.0.0 --solver=modular
  - cabal-dev install --enable-tests --reinstall --constraint=template-haskell==2.7.0.0 --solver=modular

script:
  - cabal-dev configure --enable-tests && cabal-dev build && cabal-dev test

Fix Travis run by building gtk2hs-buildtools first
Fix Travis run by building gtk2hs-buildtools first
