aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-01-25 08:17:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-01-25 08:17:59 -0800
commited78d4461529001382c3c9506a40f0ce58c87ccd (patch)
tree31f347b254568b199bf20673dd0da787e1e69b2d /.circleci
parentaec7afa24a1253fa517a996ee5a62b96caa70f8e (diff)
downloadpandoc-ed78d4461529001382c3c9506a40f0ce58c87ccd.tar.gz
Tweaked circleci.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 91be735ad..3304ad264 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -52,13 +52,14 @@ commands:
cd ${TMPDIR}
tar xvzf *.tar.gz
cd *
- cabal v2-build -j2 --dependencies-only --enable-tests --ghc-options="${GHC_OPTS}"
- cabal v2-test --ghc-options="${GHC_OPTS}" 2>build.log
- cat build.log
- # fail if we had warnings; this is to work around the fact
- # that cabal v2 doesn't allow us to use -Werror for just local build:
+ cabal v2-build -j2 --dependencies-only --enable-tests --ghc-options="${GHC_OPTS}" all
+ cabal v2-build -j2 --enable-tests --ghc-options="${GHC_OPTS}" all 2>build.log
+ # fail if we had warnings in local build
+ # this is to work around the fact that cabal v2 doesn't allow
+ # us to use -Werror for just local build:
# https://github.com/haskell/cabal/issues/4247
! grep -q "warning:" build.log
+ cabal v2-test --ghc-options="${GHC_OPTS}" 2>build.log
cabal v2-haddock --ghc-options="${GHC_OPTS}"
cabal check
- *save