git.iko.soy/typeable/pandoc
on master help sign in
Travis: use more compiler warnings.
commit49cfcc9c744a2e51f266a74e74c38d45e6e884f4 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 10 Aug 2018, 22:39 (8 years ago) parentb3c9d94
1 file changed+4−4
.travis.yml+4−4
.travis.yml+4−4
@@ -45,7 +45,7 @@ matrix:
4545 compiler: ": #GHC 8.2.2"
4646 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5], sources: [hvr-ghc]}}
4747
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"
4949 compiler: ": #GHC 8.4.3"
5050 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3,happy-1.19.5], sources: [hvr-ghc]}}
5151
@@ -57,16 +57,16 @@ matrix:
5757
5858 # The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
5959 # 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"
6161 # compiler: ": #stack 8.0.2"
6262 # addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
6363
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"
6565 compiler: ": #stack 8.2.2"
6666 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
6767
6868 # 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"
7070 compiler: ": #stack nightly"
7171 addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
7272