From 0f2b8a81aa01fd7f008e92c8963135ef14dc545d Mon Sep 17 00:00:00 2001 From: Łukasz Hanuszczak Date: Mon, 24 Aug 2015 23:51:30 +0200 Subject: Make Travis aware of Haddock test package. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c16b1709..cb76774c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ before_install: - cabal install - cd .. - (cd haddock-api/ && cabal install --only-dependencies --enable-tests && cabal configure --enable-tests && cabal build && cabal test && cabal install) + - (cd haddock-test/ && cabal install --only-dependencies --enable-tests && cabal configure --enable-tests && cabal build && cabal install) script: - cabal configure --enable-tests && cabal build && cabal test -- cgit v1.2.3 From 27ffb2c24b8204d1a06bd509c49d3e3d7d2d7aba Mon Sep 17 00:00:00 2001 From: Łukasz Hanuszczak Date: Tue, 25 Aug 2015 18:13:36 +0200 Subject: Setup Haddock executable path in Travis configuration. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index cb76774c..585b0b25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,8 @@ before_install: - cabal install - cd .. - (cd haddock-api/ && cabal install --only-dependencies --enable-tests && cabal configure --enable-tests && cabal build && cabal test && cabal install) - - (cd haddock-test/ && cabal install --only-dependencies --enable-tests && cabal configure --enable-tests && cabal build && cabal install) + - (cd haddock-test/ && cabal install --only-dependencies && cabal configure && cabal build && cabal install) script: + - export HADDOCK_PATH="dist/build/haddock/haddock" - cabal configure --enable-tests && cabal build && cabal test -- cgit v1.2.3