diff --git a/.travis.yml b/.travis.yml index 50548a01a1d05828ebf135a8994d295dec953f1e..3337ba7a4627ffb3299eb92aa4c44840dabfa5d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,21 +2,8 @@ # # NB: don't set `language: haskell` here env: - - CABALVER=1.16 GHCVER=7.0.1 - - CABALVER=1.16 GHCVER=7.0.2 - - CABALVER=1.16 GHCVER=7.0.3 - - CABALVER=1.16 GHCVER=7.0.4 - CABALVER=1.16 GHCVER=7.2.1 - CABALVER=1.16 GHCVER=7.2.2 - - CABALVER=1.16 GHCVER=7.4.1 - - CABALVER=1.16 GHCVER=7.4.2 - - CABALVER=1.16 GHCVER=7.6.1 - - CABALVER=1.16 GHCVER=7.6.2 - - CABALVER=1.18 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 - - CABALVER=1.22 GHCVER=7.10.1 # Note: the distinction between `before_install` and `install` is not important. before_install: @@ -29,13 +16,13 @@ install: - cabal --version - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]" - travis_retry cabal update - - cabal install --only-dependencies --enable-tests --enable-benchmarks + - cabal install --only-dependencies # 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: - if [ -f configure.ac ]; then autoreconf -i; fi - cabal --version - - cabal configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging + - cabal configure -v2 # -v2 provides useful information for debugging - cabal build # this builds all libraries and executables (including tests/benchmarks) - cabal check - cabal sdist # tests that a source-distribution can be generated