aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-26 22:44:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-26 22:44:05 -0700
commit218565b229873fe51543c8f3ab76d196ef04d1d4 (patch)
tree6ee41ec537386f097d307c17edff826ec80cd5d2
parentd086a190d5b8ddee9a41eb93a890b3c2cb1182dc (diff)
downloadpandoc-218565b229873fe51543c8f3ab76d196ef04d1d4.tar.gz
circleci tweak - move up cabal v2-test.
-rw-r--r--.circleci/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 96ea2f8b2..3d562b2a6 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -59,13 +59,13 @@ commands:
cd *
cabal v2-build -w ghc-<< parameters.ghcversion >> -j2 --dependencies-only --enable-tests --ghc-options="${GHC_OPTS}" all
cabal v2-build -w ghc-<< parameters.ghcversion >> -j2 --enable-tests --ghc-options="${GHC_OPTS}" all 2>build.log
+ cabal v2-test -w ghc-<< parameters.ghcversion >> --ghc-options="${GHC_OPTS}" 2>build.log
cat 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 -w ghc-<< parameters.ghcversion >> --ghc-options="${GHC_OPTS}" 2>build.log
cabal v2-haddock -w ghc-<< parameters.ghcversion >> --ghc-options="${GHC_OPTS}"
cabal check
- *save