mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-24 16:51:38 +03:00
make Travis CI build Megaparsec with GHC 7.6.x
There are some problems with HPC in GHC 7.6.x, so we don't measure code coverage.
This commit is contained in:
parent
9e445f844b
commit
5f83b40631
@ -1,6 +1,9 @@
|
||||
language: c
|
||||
|
||||
env:
|
||||
- CABALVER=1.16 GHCVER=7.6.1
|
||||
- CABALVER=1.16 GHCVER=7.6.2
|
||||
- CABALVER=1.16 GHCVER=7.6.3
|
||||
- CABALVER=1.18 GHCVER=7.8.1
|
||||
- CABALVER=1.18 GHCVER=7.8.2
|
||||
- CABALVER=1.18 GHCVER=7.8.3
|
||||
@ -27,7 +30,11 @@ install:
|
||||
- cabal install --only-dependencies --enable-tests
|
||||
|
||||
script:
|
||||
- if [[ $CABALVER = 1.18 ]] ; then cabal configure --enable-tests --enable-library-coverage -v2 ; else cabal configure --enable-tests --enable-coverage -v2 ; fi
|
||||
- case "$CABALVER" in
|
||||
"1.16") cabal configure --enable-tests -v2 ;;
|
||||
"1.18") cabal configure --enable-tests --enable-library-coverage -v2 ;;
|
||||
*) cabal configure --enable-tests --enable-coverage -v2 ;;
|
||||
esac
|
||||
- cabal build
|
||||
- cabal test --show-details=always
|
||||
--test-option=--threads=2
|
||||
|
Loading…
Reference in New Issue
Block a user