diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-12-30 21:18:47 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-12-30 21:18:47 -0700 |
commit | d1e957775a6d131a58dd461ed392b71471841170 (patch) | |
tree | 50a91991a91b9f72d685e54f758fa68a6930fb84 | |
parent | 0c201c407cd98181441e078df044a5f010442d17 (diff) | |
download | pandoc-d1e957775a6d131a58dd461ed392b71471841170.tar.gz |
Travis: fix false positives and speed up dist build by avoiding tests.
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 7ba0533ae..f8a5fed81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,13 +116,14 @@ 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 build -j - cabal check - cabal test -j - cabal copy - cabal sdist + cabal configure --enable-tests --enable-benchmarks -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" && \ + cabal build -j && \ + cabal check && \ + cabal test -j && \ + cabal copy && \ + cabal sdist && \ SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \ - (cd dist && cabal install -j --enable-tests --force-reinstalls "$SRC_TGZ") + cd dist && \ + cabal install -j -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" --force-reinstall "$SRC_TGZ" ;; esac |