git.iko.soy/typeable/pandoc
on master help sign in
Another try.
commit838bb87fbaf15264db448088accddee7c043e0e7 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 10 Sep 2018, 20:52 (8 years ago) parent3aabc96
1 file changed+3−3
.travis.yml+3−3
.travis.yml+3−3
@@ -32,7 +32,7 @@ matrix:
3232 # We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
3333 # https://github.com/hvr/multi-ghc-travis
3434 # 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/"
3636 compiler: ": #GHC 7.10.3"
3737 addons: {apt: {packages: [cabal-install-2.0,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
3838
@@ -130,13 +130,13 @@ script:
130130 stack)
131131 ulimit -n 4096
132132 stack config set system-ghc --global true
133− stack --no-terminal $ARGS test --fast --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS" --test-arguments='--hide-successes --pattern $TESTPATTERN'
133+ stack --no-terminal $ARGS test --fast --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS" --test-arguments='--hide-successes --pattern "$TESTPATTERN"'
134134 ;;
135135 cabal)
136136 cabal sdist --output-directory=sourcedist && \
137137 cd sourcedist && \
138138 cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
139139 cabal build -v2 -j2 && \
140− cabal test --test-option='-p $TESTPATTERN'
140+ cabal test --test-option='--pattern "$TESTPATTERN"'
141141 ;;
142142 esac