travis: try to reduce shelltestrunner rebuilding

This commit is contained in:
Simon Michael 2017-03-22 10:11:54 +00:00
parent 122233a64f
commit 54b093aeab

View File

@ -32,7 +32,9 @@ sudo: false
cache: cache:
directories: directories:
- $HOME/.stack/ - $HOME/.stack/
- $HOME/.local/bin/
- $HOME/shelltestrunner/ - $HOME/shelltestrunner/
- $HOME/shelltestrunner/.stack-work/
# addons: # addons:
# apt: # apt:
@ -70,10 +72,9 @@ script:
# build hledger only, for testing config # build hledger only, for testing config
# - stack +RTS -N2 -RTS build --ghc-options=-Werror hledger # - stack +RTS -N2 -RTS build --ghc-options=-Werror hledger
# build all packages, ensuring no warnings, no haddock failures, per-package test suites passing # build all packages, ensuring no warnings, no haddock failures, all package test suites passing
- stack +RTS -N2 -RTS build --ghc-options=-Werror --haddock --no-haddock-deps --test - stack +RTS -N2 -RTS build --ghc-options=-Werror --haddock --no-haddock-deps --test
# install hledger addon deps, build addons # install hledger addon deps, build addons (TODO: require successful warning-free builds)
# TODO: require successful warning-free builds
- bin/compile.sh - bin/compile.sh
# run functional tests # run functional tests
- make functest - make functest