git.iko.soy/typeable/pandoc
on master help sign in
Tweaked circleci.
commited78d4461529001382c3c9506a40f0ce58c87ccd authorJohn MacFarlane <jgm@berkeley.edu> dateFri 25 Jan 2019, 08:17 (8 years ago) parentaec7afa
1 file changed+6−5
.circleci/config.yml+6−5
.circleci/config.yml+6−5
@@ -52,13 +52,14 @@ commands:
5252 cd ${TMPDIR}
5353 tar xvzf *.tar.gz
5454 cd *
55− cabal v2-build -j2 --dependencies-only --enable-tests --ghc-options="${GHC_OPTS}"
56− cabal v2-test --ghc-options="${GHC_OPTS}" 2>build.log
57− cat build.log
58− # fail if we had warnings; this is to work around the fact
59− # that cabal v2 doesn't allow us to use -Werror for just local build:
55+ cabal v2-build -j2 --dependencies-only --enable-tests --ghc-options="${GHC_OPTS}" all
56+ cabal v2-build -j2 --enable-tests --ghc-options="${GHC_OPTS}" all 2>build.log
57+ # fail if we had warnings in local build
58+ # this is to work around the fact that cabal v2 doesn't allow
59+ # us to use -Werror for just local build:
6060 # https://github.com/haskell/cabal/issues/4247
6161 ! grep -q "warning:" build.log
62+ cabal v2-test --ghc-options="${GHC_OPTS}" 2>build.log
6263 cabal v2-haddock --ghc-options="${GHC_OPTS}"
6364 cabal check
6465 - *save