git.iko.soy/typeable/pandoc
on master help sign in
Attempt to fix travis build.
3aabc96John MacFarlane
.travis.yml+2−2
@@ -32,7 +32,7 @@ matrix:
32 # We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
32 # We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
33 # https://github.com/hvr/multi-ghc-travis
33 # https://github.com/hvr/multi-ghc-travis
34 # don't build benchmarks for ghc 7.10.3, because build takes too long...
34 # don't build benchmarks for ghc 7.10.3, because build takes too long...
35− - env: BUILD=cabal GHCVER=7.10.3 CABALVER=2.0 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="" TESTPATTERN="$0 !~ /Round trip/"
35+ - env: BUILD=cabal GHCVER=7.10.3 CABALVER=2.0 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="" TESTPATTERN="\$0 !~ /Round trip/"
36 compiler: ": #GHC 7.10.3"
36 compiler: ": #GHC 7.10.3"
37 addons: {apt: {packages: [cabal-install-2.0,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
37 addons: {apt: {packages: [cabal-install-2.0,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
38
38
@@ -137,6 +137,6 @@ script:
137 cd sourcedist && \
137 cd sourcedist && \
138 cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
138 cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
139 cabal build -v2 -j2 && \
139 cabal build -v2 -j2 && \
140− cabal test -p $TESTPATTERN
140+ cabal test --test-option='-p $TESTPATTERN'
141 ;;
141 ;;
142 esac
142 esac