travis: build and test addons

This commit is contained in:
Simon Michael 2017-03-22 10:02:56 +00:00
parent 9e290d18eb
commit 8dc4cffe63

View File

@ -43,13 +43,15 @@ install:
script:
# build all packages, ensuring no warnings, no haddock failures, per-package test suites passing
- stack +RTS -N2 -RTS build --ghc-options=-Werror --haddock --no-haddock-deps --test
# likewise for addons
#- bin/compile.sh
# install hledger addon deps, build addons
# TODO: require successful warning-free builds
- bin/compile.sh
# run functional tests
# - make functest
# run most functional tests, excluding some not yet working on travis
- make tests/addons/hledger-addon
- PATH=~/.local/bin:/usr/bin:/bin COLUMNS=80 stack exec -- shelltest --execdir -x bin/equity -x bin/prices -x bin/rewrite -- -j16 tests
- make functest
# run only some functional tests
# - make tests/addons/hledger-addon
# - PATH=~/.local/bin:/usr/bin:/bin COLUMNS=80 stack exec -- shelltest --execdir -x bin/equity -- -j16 tests
# coveralls.io coverage reports
# after_script: