@@ -3,10 +3,10 @@
3# 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.
3# 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.
5# - GHCVER=6.12.3
5# - GHCVER=6.12.3
6− - CABALVER=1.16 GHCVER=7.4.2
6+ - CABALVER=1.16 GHCVER=7.4.2 GHCOPTS="-Werror"
7− - CABALVER=1.18 GHCVER=7.6.3
7+ - CABALVER=1.18 GHCVER=7.6.3 GHCOPTS="-Werror"
8− - CABALVER=1.18 GHCVER=7.8.4 # see note about Alex/Happy
8+ - CABALVER=1.18 GHCVER=7.8.4 GHCOPTS="-Werror" # see note on Alex/Happy
9−# - CABALVER=1.22 GHCVER=7.10.1
9+ - CABALVER=1.22 GHCVER=7.10.1 GHCOPTS=""
10# - GHCVER=head # see section about GHC HEAD snapshots
10# - GHCVER=head # see section about GHC HEAD snapshots
12# Note: the distinction between `before_install` and `install` is not important.
12# Note: the distinction between `before_install` and `install` is not important.
@@ -24,6 +24,6 @@ install:
24# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
24# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
26 - cabal-$CABALVER configure --enable-tests -v2 # -v2 provides useful information for debugging
26 - cabal-$CABALVER configure --enable-tests -v2 # -v2 provides useful information for debugging
27− - cabal-$CABALVER build --ghc-options=-Werror # this builds all libraries and executables (including tests/benchmarks)
27+ - cabal-$CABALVER build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
28 - cabal-$CABALVER test
28 - cabal-$CABALVER test
29 - cabal-$CABALVER check
29 - cabal-$CABALVER check