Merge pull request #242 from matthiaskrgr/travis

travis: compile with -Wunreachable-code .
This commit is contained in:
Daniel Marjamäki 2014-02-28 06:16:34 +01:00
commit 940582645d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ env:
global: global:
# unfortunately we need this to stay within 50min timelimit given by travis. # unfortunately we need this to stay within 50min timelimit given by travis.
# this also turns off the debug/warning cxxflags # this also turns off the debug/warning cxxflags
- CXXFLAGS=-O2 - CXXFLAGS="-O2 -Wunreachable-code"
matrix: matrix:
- MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1 - MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1
- SRCDIR=build VERIFY=1 - SRCDIR=build VERIFY=1