travis: compile with -Wunreachable-code .

This commit is contained in:
Matthias Krüger 2014-02-27 16:23:55 +01:00
parent a02bbfa47e
commit 0866feaf17
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