Skip to content

Commit

Permalink
Use -Werror on Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
spl committed Jul 13, 2016
1 parent 1f78a72 commit 6b788e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ install:
- cabal install --only-dependencies --enable-tests

script:
- cabal configure --enable-tests -v2
- cabal configure --enable-tests -v2 --ghc-options="-Werror"
- cabal build
- cabal test
- cabal check
Expand Down
3 changes: 2 additions & 1 deletion dlist.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ library
build-depends:
base >= 4 && < 5,
deepseq >= 1.1 && < 2
ghc-options: -Wall
extensions: CPP
exposed-modules: Data.DList
ghc-options: -Wall

test-suite test
type: exitcode-stdio-1.0
Expand All @@ -45,3 +45,4 @@ test-suite test
base,
Cabal,
QuickCheck >= 2.7 && < 2.10
ghc-options: -Wall

0 comments on commit 6b788e5

Please sign in to comment.