From 8dc4cffe63f25908df0380455349cf2256832eb2 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 22 Mar 2017 10:02:56 +0000 Subject: [PATCH] travis: build and test addons --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 08a47c51c..875b412db 100644 --- a/.travis.yml +++ b/.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: