From 9650e88cc50899caafdc5ef1f5d0e580cf6ba6de Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 6 Jun 2017 09:34:52 -0700 Subject: [PATCH] tools: travis: also run the hunit unit tests by default Run at least some unit tests by default again. The hunit tests are fast and we can run them without any rebuilding. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index d18a6e76f..d8e4f9f38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,6 +116,10 @@ script: # command output is not hidden - stack build --ghc-options=-Werror hledger-web - stack build --ghc-options=-Werror hledger-api + # run the built-in hunit tests. This doesn't run the doctests, + # but doesn't require rebuilding and is fast + - stack exec -- hledger test + # run functional tests, skipping the ones for addons - COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons