git.iko.soy/typeable/pandoc
on master help sign in
Travis: use more compiler warnings.
49cfcc9John MacFarlane
.travis.yml+4−4
@@ -45,7 +45,7 @@ matrix:
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 -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks"
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"
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
@@ -57,16 +57,16 @@ matrix:
57
57
58 # The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
58 # The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
59 # variable, such as using --stack-yaml to point to a different file.
59 # variable, such as using --stack-yaml to point to a different file.
60− # - env: BUILD=stack ARGS="--stack-yaml stack.lts9.yaml" OPTS="-Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
60+ # - env: BUILD=stack ARGS="--stack-yaml stack.lts9.yaml" 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"
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="-Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
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"
65 compiler: ": #stack 8.2.2"
65 compiler: ": #stack 8.2.2"
66 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
66 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
67
67
68 # Nightly builds are allowed to fail
68 # Nightly builds are allowed to fail
69− - env: BUILD=stack ARGS="--resolver nightly" OPTS="-Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
69+ - env: BUILD=stack ARGS="--resolver nightly" 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"
70 compiler: ": #stack nightly"
70 compiler: ": #stack nightly"
71 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
71 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
72
72