git.iko.soy/typeable/pandoc
on master help sign in
Travis: another try.
c6f9ee6John MacFarlane
.travis.yml+3−3
@@ -49,7 +49,7 @@ matrix:
49 compiler: ": #GHC 8.4.3"
49 compiler: ": #GHC 8.4.3"
50 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3,happy-1.19.5], sources: [hvr-ghc]}}
50 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3,happy-1.19.5], sources: [hvr-ghc]}}
51
51
52− - env: BUILD=cabal GHCVER=8.6.1 CABALVER=2.4 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks --allow-newer=haddock-library:base ." TESTPATTERN="! /Round trip/"
52+ - env: BUILD=cabal GHCVER=8.6.1 CABALVER=2.4 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks --allow-newer=haddock-library:base" TARGETS="exe:pandoc" TESTPATTERN="! /Round trip/"
53 compiler: ": #GHC 8.6.1"
53 compiler: ": #GHC 8.6.1"
54 addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.1,happy-1.19.5], sources: [hvr-ghc]}}
54 addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.1,happy-1.19.5], sources: [hvr-ghc]}}
55
55
@@ -122,7 +122,7 @@ install:
122 cabal install -v1 --disable-optimization --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
122 cabal install -v1 --disable-optimization --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
123 ;;
123 ;;
124 *)
124 *)
125− cabal install --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
125+ cabal install --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS $TARGETS
126 ;;
126 ;;
127 esac
127 esac
128 ;;
128 ;;
@@ -139,7 +139,7 @@ script:
139 cabal)
139 cabal)
140 cabal sdist --output-directory=sourcedist && \
140 cabal sdist --output-directory=sourcedist && \
141 cd sourcedist && \
141 cd sourcedist && \
142− cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
142+ cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS $TARGETS && \
143 cabal build -v2 -j2 && \
143 cabal build -v2 -j2 && \
144 cabal test --test-options="--pattern=\"$TESTPATTERN\""
144 cabal test --test-options="--pattern=\"$TESTPATTERN\""
145 ;;
145 ;;