diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-27 21:14:32 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-27 21:14:32 -0700 |
commit | 3a4ef013d8fa8bed9692cbf703b80d88c9256a43 (patch) | |
tree | d0f2c1b22f6332fb7f2a3129f65090b18c2d2c31 | |
parent | dd5d3379e82209e8cb65a9e37e838217d48bc371 (diff) | |
download | pandoc-3a4ef013d8fa8bed9692cbf703b80d88c9256a43.tar.gz |
travis script: build with ghc 7.10.1.
For now -Werror is turned of for 7.10.1.
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 7c579348f..4ec48b8a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ # 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. env: # - GHCVER=6.12.3 - - CABALVER=1.16 GHCVER=7.4.2 - - CABALVER=1.18 GHCVER=7.6.3 - - CABALVER=1.18 GHCVER=7.8.4 # see note about Alex/Happy -# - CABALVER=1.22 GHCVER=7.10.1 + - CABALVER=1.16 GHCVER=7.4.2 GHCOPTS="-Werror" + - CABALVER=1.18 GHCVER=7.6.3 GHCOPTS="-Werror" + - CABALVER=1.18 GHCVER=7.8.4 GHCOPTS="-Werror" # see note on Alex/Happy + - CABALVER=1.22 GHCVER=7.10.1 GHCOPTS="" # - GHCVER=head # see section about GHC HEAD snapshots # Note: the distinction between `before_install` and `install` is not important. @@ -24,6 +24,6 @@ install: # 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. script: - cabal-$CABALVER configure --enable-tests -v2 # -v2 provides useful information for debugging - - cabal-$CABALVER build --ghc-options=-Werror # this builds all libraries and executables (including tests/benchmarks) + - cabal-$CABALVER build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks) - cabal-$CABALVER test - cabal-$CABALVER check |