Try to make Travis build faster

This commit is contained in:
Michael Snoyman 2015-06-18 20:12:37 +03:00
parent e70f160da6
commit 241f7cf355

View file

@ -29,12 +29,11 @@ install:
- cabal --version
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal update
- cabal install cpphs
- cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
- cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0
script:
- if [ -f configure.ac ]; then autoreconf -i; fi
- cabal configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
- cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options=-O0 # -v2 provides useful information for debugging
- cabal build # this builds all libraries and executables (including tests/benchmarks)
- cabal test
- cabal check