git.iko.soy/typeable/pandoc
on master help sign in
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?

commit3804a191c7effa92fc707d84706930d79a372509 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 28 Jun 2018, 12:03 (8 years ago) parent06bcb7c
1 file changed+1−4
.travis.yml+1−4
.travis.yml+1−4
@@ -117,7 +117,6 @@ install:
117117 cabal)
118118 cabal --version
119119 travis_retry cabal update
120− cabal install --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
121120 ;;
122121 esac
123122
@@ -132,8 +131,6 @@ script:
132131 cabal)
133132 cabal sdist --output-directory=sourcedist && \
134133 cd sourcedist && \
135− cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
136− cabal build -v2 -j2 && \
137− cabal test
134+ cabal install -j2 --disable-optimization --enable-tests --run-tests --enable-benchmarks -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS
138135 ;;
139136 esac