tools: appveyor: also run tests and benchmarks

This commit is contained in:
Simon Michael 2017-09-08 11:00:41 -07:00
parent 3b1637341c
commit 7d6b28c994

View File

@ -26,11 +26,15 @@ environment:
# APPVEYOR_SAVE_CACHE_ON_ERROR: "true"
test_script:
- echo "" | stack --no-terminal --install-ghc test -j1 hledger hledger-web hledger-api
- stack --local-bin-path . -j1 install hledger hledger-web hledger-api
# -j1 is temporary, attempting to work around
# https://github.com/simonmichael/hledger/issues/424
# https://github.com/commercialhaskell/stack/issues/2617
#the j1 flag is a temporary workaround for https://github.com/commercialhaskell/stack/issues/2617, https://github.com/simonmichael/hledger/issues/424
#- echo "" | stack --no-terminal --install-ghc test -j1 hledger hledger-web hledger-api
#- stack --local-bin-path . -j1 install hledger hledger-web hledger-api
- stack --local-bin-path . -j1 build --test --bench --copy-bins hledger hledger-web hledger-api
#- hledger-install/hledger-install.sh
#- make stacktest
artifacts:
- path: hledger.exe