+# See also https://github.com/hvr/multi-ghc-travis for more information
language: c
sudo: false
# GHCVER. Omit lines with versions you don't need/want testing for.
matrix:
include:
- - env: CABALVER=1.18 GHCVER=7.8.4
+ - env: CABALVER=1.18 GHCVER=7.8.4 CTOPTS=""
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
- - env: CABALVER=1.22 GHCVER=7.10.1
+ - env: CABALVER=1.22 GHCVER=7.10.1 CTOPTS="--show-details=streaming"
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.1],sources: [hvr-ghc]}}
- - env: CABALVER=head GHCVER=head
+ - env: CABALVER=head GHCVER=head CTOPTS="--show-details=streaming"
addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
allow_failures:
- cabal configure --enable-tests --enable-benchmarks -v2
- cabal build
- - cabal test --show-details=streaming
+ - cabal test $CTOPTS
- cabal check