Run Travis build on GHC 7.6
But, only run coverage on GHC 7.8
commitaf57e0431089cc33fca40bad36846eb0bf6ae094
authorHarry Garrood <harry@garrood.me>
dateSun 5 Jul 2015, 12:08 (11 years ago)
parented5cc18
.travis.yml+4−2
@@ -1,6 +1,8 @@
11env:
2− - CABALVER=1.22 GHCVER=7.8.3 SUITE=tests
3− - CABALVER=1.22 GHCVER=7.8.3 SUITE=psci-tests
2+ - CABALVER=1.22 GHCVER=7.8.3 TRAVIS_COVERAGE=true SUITE=tests
3+ - CABALVER=1.22 GHCVER=7.8.3 TRAVIS_COVERAGE=true SUITE=psci-tests
4+ - CABALVER=1.22 GHCVER=7.6.3 SUITE=tests
5+ - CABALVER=1.22 GHCVER=7.6.3 SUITE=psci-tests
46before_install:
57 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
68 - travis_retry sudo apt-get update
travis-script.sh+1−1
@@ -1,6 +1,6 @@
11set -e
22
3−if [ -z $( git describe --tags --exact-match 2>/dev/null ) ]
3+if [ -z $( git describe --tags --exact-match 2>/dev/null ) && "$TRAVIS_COVERAGE" = "true" ]
44then
55 cabal configure --enable-tests --enable-coverage -v2
66else