@@ -24,23 +24,8 @@ install:
24 - cabal --version
24 - cabal --version
25 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
25 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
26 - travis_retry cabal update
26 - travis_retry cabal update
27− - cabal install --only-dependencies --enable-tests --enable-benchmarks
27+ - cabal install --only-dependencies
29−# 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.
31 - if [ -f configure.ac ]; then autoreconf -i; fi
28 - if [ -f configure.ac ]; then autoreconf -i; fi
32− - cabal configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
29+ - cabal configure --enable-tests -v2 # -v2 provides useful information for debugging
33− - cabal build # this builds all libraries and executables (including tests/benchmarks)
30+ - cabal build
34 - cabal test
31 - cabal test
36− - cabal sdist # tests that a source-distribution can be generated
38−# The following scriptlet checks that the resulting source distribution can be built & installed
39− - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
41− if [ -f "$SRC_TGZ" ]; then
42− cabal install --force-reinstalls "$SRC_TGZ";
44− echo "expected '$SRC_TGZ' not found";