# The following enables several GHC versions to be tested; often it's enough to test only against the last release in a major GHC version. Feel free to omit lines listings versions you don't need/want testing for. env: - GHCVER=7.4.2 CABALVER=1.16 - GHCVER=7.6.3 CABALVER=1.18 - GHCVER=head CABALVER=1.18 # see section about GHC HEAD snapshots before_install: - sudo add-apt-repository -y ppa:hvr/ghc - sudo apt-get update - sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER happy hlint - export PATH=/opt/ghc/$GHCVER/bin:$PATH install: - cabal-$CABALVER update - cabal-$CABALVER install --only-dependencies --enable-tests --enable-benchmarks -j script: - travis/script.sh - hlint src matrix: allow_failures: - env: GHCVER=head CABALVER=1.18 fast_finish: true