From ed93026f487d30d7d17918a058a5de5c8bc20855 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 31 Mar 2017 17:57:12 -0700 Subject: [PATCH] tools: make travistest --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 5a9664476..a73fdbcb0 100644 --- a/Makefile +++ b/Makefile @@ -533,6 +533,17 @@ $(call def-help-subsection,TESTING:) test: pkgtest builtintest functest \ $(call def-help,test, run default tests ) +travistest: \ + $(call def-help,travistest, run tests similar to the most thorough travis tests) + stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-lib + stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger + stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-ui + stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-web + stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-api + sh -e bin/compile.sh + make functest + + # test-ghc-%: # bin/hledgerdev.ghc-$* \ # $(call def-help,test-ghc-%,\ # run default tests with a specific GHC version\