From b7f394839d9add7d8f927be85f19eee3c37b9f27 Mon Sep 17 00:00:00 2001 From: mrkkrp Date: Thu, 1 Oct 2015 14:03:25 +0600 Subject: [PATCH] add more Cabal/GHC combinations to test Because of added support for GHC 7.8.x we need to test that version too. --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 78c5eab..e09b3a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,17 @@ language: c env: + - CABALVER=1.18 GHCVER=7.8.1 + - CABALVER=1.18 GHCVER=7.8.2 + - CABALVER=1.18 GHCVER=7.8.3 + - CABALVER=1.18 GHCVER=7.8.4 - CABALVER=1.22 GHCVER=7.10.1 + - CABALVER=1.22 ghcver=7.10.2 - CABALVER=head GHCVER=head matrix: allow_failures: + - env: CABALVER=1.22 ghcver=7.10.2 - env: CABALVER=head GHCVER=head before_install: @@ -21,7 +27,7 @@ install: - cabal install --only-dependencies --enable-tests script: - - cabal configure --enable-tests --enable-coverage -v2 + - if [[ $CABALVER = 1.18 ]] ; then cabal configure --enable-tests --enable-library-coverage -v2 ; else cabal configure --enable-tests --enable-coverage -v2 ; fi - cabal build - cabal test --show-details=always --test-option=--threads=2