mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 11:52:43 +03:00
travis: build and test addons
This commit is contained in:
parent
9e290d18eb
commit
8dc4cffe63
14
.travis.yml
14
.travis.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user