language: haskell
ghc: 7.8
env:
  - LTS_VER=2.5
sudo: false
branches:
  only:
    - master
    - travis
addons:
  apt:
    packages:
      - libwebkitgtk-dev

before_install:
  - cabal update
  - cabal install stackage-cli gtk2hs-buildtools
  - stackage-sandbox init lts-$LTS_VER
  - git clone https://github.com/pavelkogan/reactive-banana-gtk.git
  - cabal sandbox add-source ./reactive-banana-gtk/

cache:
  directories:
    - $HOME/.stackage/sandboxes

language: haskell
ghc: 7.8
env:
  - LTS_VER=2.5
sudo: false
branches:
  only:
    - master
    - travis
addons:
  apt:
    packages:
      - libwebkitgtk-dev

before_install:
  - cabal update
  - cabal install stackage-cli
  - stackage-sandbox init lts-$LTS_VER
  - export PATH=$HOME/.stackage/sandboxes/ghc-$(ghc_find 7.8)/lts-$LTS_VER/bin/:$PATH
  - cabal install gtk2hs-buildtools
  - git clone https://github.com/pavelkogan/reactive-banana-gtk.git
  - cabal sandbox add-source ./reactive-banana-gtk/

cache:
  directories:
    - $HOME/.stackage/sandboxes
    - $HOME/.ghc
    - $HOME/.cabal
before_cache:
  - rm -f $HOME/.cabal/packages/hackage.haskell.org/00-index.*

Fix buildtools version and cache more
Fix buildtools version and cache more
