travis: compile with -Wunreachable-code .
This commit is contained in:
parent
a02bbfa47e
commit
0866feaf17
|
@ -6,7 +6,7 @@ env:
|
|||
global:
|
||||
# unfortunately we need this to stay within 50min timelimit given by travis.
|
||||
# this also turns off the debug/warning cxxflags
|
||||
- CXXFLAGS=-O2
|
||||
- CXXFLAGS="-O2 -Wunreachable-code"
|
||||
matrix:
|
||||
- MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1
|
||||
- SRCDIR=build VERIFY=1
|
||||
|
|
Loading…
Reference in New Issue