git.iko.soy/typeable/pandoc
on master help sign in
Revert test-pattern changes to .travis.yml.
67bcb3dJohn MacFarlane
.travis.yml+7−7
@@ -32,20 +32,20 @@ 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
39 # don't build benchmarks for ghc 8.0.2, because build takes too long...
39 # don't build benchmarks for ghc 8.0.2, because build takes too long...
40− - env: BUILD=cabal GHCVER=8.0.2 CABALVER=2.0 OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast" CABALARGS="" TESTPATTERN="$$0 !~ /Round trip/"
40+ - env: BUILD=cabal GHCVER=8.0.2 CABALVER=2.0 OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast" CABALARGS="" TESTPATTERN="$0 !~ /Round trip/"
41 compiler: ": #GHC 8.0.2"
41 compiler: ": #GHC 8.0.2"
42 addons: {apt: {packages: [cabal-install-2.0,ghc-8.0.2,happy-1.19.5], sources: [hvr-ghc]}}
42 addons: {apt: {packages: [cabal-install-2.0,ghc-8.0.2,happy-1.19.5], sources: [hvr-ghc]}}
43
43
44− - env: BUILD=cabal GHCVER=8.2.2 CABALVER=2.0 OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks" TESTPATTERN="$$0 !~ /Round trip/"
44+ - env: BUILD=cabal GHCVER=8.2.2 CABALVER=2.0 OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks" TESTPATTERN="$0 !~ /Round trip/"
45 compiler: ": #GHC 8.2.2"
45 compiler: ": #GHC 8.2.2"
46 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5], sources: [hvr-ghc]}}
46 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5], sources: [hvr-ghc]}}
47
47
48− - env: BUILD=cabal GHCVER=8.4.3 CABALVER=2.2 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" TESTPATTERN="$$0 !~ /Round trip/"
48+ - env: BUILD=cabal GHCVER=8.4.3 CABALVER=2.2 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" TESTPATTERN="$0 !~ /Round trip/"
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
@@ -61,7 +61,7 @@ matrix:
61 # compiler: ": #stack 8.0.2"
61 # compiler: ": #stack 8.0.2"
62 # addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
62 # addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
63
63
64− - env: BUILD=stack ARGS="--resolver lts-12" 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" TESTPATTERN="$$0 !~ /Round trip/"
64+ - env: BUILD=stack ARGS="--resolver lts-12" 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" TESTPATTERN="$0 !~ /Round trip/"
65 compiler: ": #stack 8.4.3"
65 compiler: ": #stack 8.4.3"
66 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
66 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
67
67
@@ -130,13 +130,13 @@ script:
130 stack)
130 stack)
131 ulimit -n 4096
131 ulimit -n 4096
132 stack config set system-ghc --global true
132 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=--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'
134 ;;
134 ;;
135 cabal)
135 cabal)
136 cabal sdist --output-directory=sourcedist && \
136 cabal sdist --output-directory=sourcedist && \
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 --test-option=--pattern="$TESTPATTERN"
140+ cabal test -p $TESTPATTERN
141 ;;
141 ;;
142 esac
142 esac