language: haskell
ghc:
  - 7.8
  - 7.6
  - 7.4
before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -qq libpcap-dev libgtk2.0-dev libcairo2-dev
 # Look I know this seems ridiculous but cairo seems to fail to build unless Cabal-the-library >= 1.18 is installed, but not depend on it (?)
 - cabal install Cabal
 - cabal install gtk2hs-buildtools

language: haskell
ghc:
  - 7.8
  - 7.6
  - 7.4
before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -qq libpcap-dev libgtk2.0-dev libcairo2-dev
 # Look I know this seems ridiculous but cairo seems to fail to build unless Cabal-the-library >= 1.18 is installed, but not depend on it (?)
 - cabal install Cabal
 # https://github.com/gtk2hs/gtk2hs/issues/73
 - cabal install alex happy
 - cabal install gtk2hs-buildtools

Install new alex and happy before gtk2hs-buildtools
Install new alex and happy before gtk2hs-buildtools

https://github.com/gtk2hs/gtk2hs/issues/73
https://ro-che.info/articles/2014-03-08-happy-alex-ghc-7.8.html
