aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2014-06-18 14:16:48 +0800
committerSimon Hengel <sol@typeful.net>2014-06-18 14:16:48 +0800
commit8857e5071f0c0eb8398b06d63104bbe844d3df25 (patch)
tree02386753282603e2dd0f0cd555f571d3ab5c27e7 /.travis.yml
parent1bbda54a9cf1c8db93c5ef226c2a94ed38a842ff (diff)
Remove doctest dependency
(so that we can use haddock-library with doctest)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index ab626be9..f4460819 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ install:
"head") (cd haddock-library/ && cabal install --enable-tests
&& cd .. && cabal install --only-dependencies --enable-tests) ;;
*)
- (cd haddock-library/ && cabal install --only-dependencies --enable-tests && cd ..) ;;
+ (cd haddock-library/ && cabal install --only-dependencies --enable-tests) ;;
esac
@@ -26,8 +26,9 @@ script:
# Yes, in case of HEAD we do end up building haddock-library twice
# but we want to see the test results.
- (cd haddock-library/ && cabal configure --enable-tests --ghc-options=-Werror
- && cabal build && cabal test && cabal install && cd ..)
+ && cabal build && cabal test && cabal install && cabal install doctest
+ && doctest -isrc -ivendor/attoparsec-0.10.4.0 -optP-include -optPdist/build/autogen/cabal_macros.h src/Documentation/Haddock/Parser.hs)
- case "$GHCVER" in
"head") (cabal configure --enable-tests --ghc-options=-Werror && cabal build && cabal test) ;;
*) ;;
- esac \ No newline at end of file
+ esac