@@ -7,12 +7,6 @@ cache:
7 - ~/.cabal/packages
7 - ~/.cabal/packages
8 - ~/.cabal/store
8 - ~/.cabal/store
12− # To avoid re-compilation it is important to use exactly the same
13− # configuration for all steps.
14− - CABAL_CONFIG="--enable-tests --enable-benchmarks --flags=dev"
18 - env: CABALVER=3.0 GHCVER=8.6.5
12 - env: CABALVER=3.0 GHCVER=8.6.5
@@ -31,11 +25,14 @@ install:
31 - travis_retry cabal new-update
25 - travis_retry cabal new-update
28+ # To avoid re-compilation it is important to use exactly the same
29+ # configuration for all steps.
30+ - export CONFIG="--enable-tests --enable-benchmarks --flags=dev"
34 - cabal format
31 - cabal format
35 - git diff --exit-code --color=always
32 - git diff --exit-code --color=always
36− - cabal new-build $CABAL_CONFIG
33+ - cabal new-build $CONFIG
37− - cabal new-test $CABAL_CONFIG
34+ - cabal new-test $CONFIG
38− - cabal new-haddock $CABAL_CONFIG
35+ - cabal new-haddock $CONFIG
39 - cabal new-sdist
36 - cabal new-sdist
41notifications:
38notifications: