aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-20 15:43:15 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-20 15:43:15 +0100
commit5a1c9109e0ec08acb65de234ad04cbc9cf61ea11 (patch)
tree953e4a9b3f139189c920d41199a71d8cb8cad03d
parent51ed4a98a90815fd913c82bb7816c33cf7e8d370 (diff)
downloadpandoc-5a1c9109e0ec08acb65de234ad04cbc9cf61ea11.tar.gz
Fixed .travis.yml.
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index d5924c24c..eb0200c4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -117,9 +117,11 @@ script:
stack --no-terminal $ARGS test --flag 'aeson:fast' --haddock --no-haddock-deps --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror"
;;
cabal)
- cabal configure --enable-tests --enable-benchmarks -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" && \
+ cabal configure && \
cabal sdist --output-directory=sourcedist && \
cd sourcedist && \
- cabal install -j -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" --force-reinstall --test
+ cabal configure --enable-tests --enable-benchmarks -ftrypandoc -v2 -fembed_data_files -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" && \
+ cabal build && \
+ cabal test
;;
esac