language: haskell

ghc:
  - 7.6
  - 7.8

install:
  - cabal install happy # a "haskell-src-exts" implicit dependency workaround
  - cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls

script:
  - cabal configure --enable-tests --enable-benchmarks
  - cabal build
  - cabal test --show-details=always

language: haskell

ghc:
  - 7.6
  - 7.8

env:
  - transformers=0.2.*
  - transformers=0.4.*

install:
  - cabal install "transformers == $transformers"
  - cabal install happy # a "haskell-src-exts" implicit dependency workaround
  - cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls

script:
  - cabal configure --enable-tests --enable-benchmarks
  - cabal build
  - cabal test --show-details=always

Update Travis to test older transformers
Update Travis to test older transformers
