From ffd3dd3f08de0b0db38cec0a748e04272fd59924 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 17 Mar 2012 08:22:04 +0100 Subject: Use cabal test, add travis-ci.org config --- hakyll.cabal | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'hakyll.cabal') diff --git a/hakyll.cabal b/hakyll.cabal index 4d6772b..97e2a60 100644 --- a/hakyll.cabal +++ b/hakyll.cabal @@ -143,3 +143,39 @@ Library Other-Modules: Hakyll.Web.Preview.Poll Hakyll.Web.Preview.Server + +Test-suite hakyll-tests + Type: exitcode-stdio-1.0 + Hs-source-dirs: src tests + Main-is: TestSuite.hs + Ghc-options: -Wall + + Build-Depends: + HUnit >= 1.2 && < 1.3, + QuickCheck >= 2.4 && < 2.5, + test-framework >= 0.4 && < 0.7, + test-framework-hunit >= 0.2 && < 0.3, + test-framework-quickcheck2 >= 0.2 && < 0.3, + -- Copy pasted from hakyll dependencies: + base >= 4 && < 5, + binary >= 0.5 && < 0.6, + blaze-html >= 0.4 && < 0.6, + bytestring >= 0.9 && < 0.10, + citeproc-hs >= 0.3.2 && < 0.4, + containers >= 0.3 && < 0.5, + cryptohash >= 0.7 && < 0.8, + directory >= 1.0 && < 1.2, + filepath >= 1.0 && < 1.4, + hamlet >= 0.10.3 && < 0.11, + mtl >= 1 && < 2.1, + old-locale >= 1.0 && < 1.1, + old-time >= 1.0 && < 1.2, + pandoc >= 1.9 && < 1.10, + parsec >= 3.0 && < 3.2, + process >= 1.0 && < 1.2, + regex-base >= 0.93 && < 0.94, + regex-tdfa >= 1.1 && < 1.2, + tagsoup >= 0.12.6 && < 0.13, + text >= 0.11 && < 0.12, + time >= 1.1 && < 1.5, + unix >= 2.4 && < 2.6 -- cgit v1.2.3