aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-28 12:03:00 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-28 12:05:39 +0200
commit3804a191c7effa92fc707d84706930d79a372509 (patch)
tree6aedefc2dfb399d1216f96bb8cd8e49c045da30f /.travis.yml
parent06bcb7c87285afb130fd6271ab7df3baf81d38e9 (diff)
downloadpandoc-3804a191c7effa92fc707d84706930d79a372509.tar.gz
travis: Remove '--only-dependencies' step for cabal.
Due to cabal changes, this no longer seems to work. We get: > cabal: Cannot select only the dependencies (as requested by the > '--only-dependencies' flag), the packages are required by a dependency of one > of the other targets. I suspect this is because the executable depends on the library?
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 9291f8bc2..1df62dcc5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -117,7 +117,6 @@ install:
cabal)
cabal --version
travis_retry cabal update
- cabal install --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
;;
esac
@@ -132,8 +131,6 @@ script:
cabal)
cabal sdist --output-directory=sourcedist && \
cd sourcedist && \
- cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
- cabal build -v2 -j2 && \
- cabal test
+ cabal install -j2 --disable-optimization --enable-tests --run-tests --enable-benchmarks -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS
;;
esac