Commit e337fb56 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Revert "Disable -Werror on 1.22 for now."

This reverts commit 63e7b93a.
parent c8dc3f58
......@@ -28,7 +28,7 @@ script:
- mkdir -p ./dist/setup
- cp Setup.hs ./dist/setup/setup.hs
# Should be able to build setup without extra dependencies
- /opt/ghc/$GHCVER/bin/ghc --make -odir ./dist/setup -hidir ./dist/setup -i -i. ./dist/setup/setup.hs -o ./dist/setup/setup -Wall -threaded # the command cabal-install would use to build setup
- /opt/ghc/$GHCVER/bin/ghc --make -odir ./dist/setup -hidir ./dist/setup -i -i. ./dist/setup/setup.hs -o ./dist/setup/setup -Wall -Werror -threaded # the command cabal-install would use to build setup
# Need extra dependencies for test suite
- travis_retry git clone -b pr-base48 https://github.com/hvr/ansi-wl-pprint ../ansi-wl-pprint
......@@ -37,7 +37,7 @@ script:
- sudo /opt/ghc/$GHCVER/bin/ghc-pkg recache
- /opt/ghc/$GHCVER/bin/ghc-pkg recache --user
- ./dist/setup/setup configure --user --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
- ./dist/setup/setup configure --user --enable-tests --enable-benchmarks --ghc-option=-Werror -v2 # -v2 provides useful information for debugging
- ./dist/setup/setup build # this builds all libraries and executables (including tests/benchmarks)
- ./dist/setup/setup haddock # see #2198
- ./dist/setup/setup test --show-details=streaming
......@@ -61,7 +61,7 @@ script:
- cabal sandbox init
- cabal sandbox add-source ../Cabal ../ansi-wl-pprint
- cabal install --dependencies-only --enable-tests
- cabal configure --enable-tests
- cabal configure --enable-tests --ghc-option=-Werror
- cabal build
- cabal test
- cabal check
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment