Turn on -Wshadow for travis

This commit is contained in:
Igor Canadi 2014-11-06 13:29:17 -08:00
parent 5fd33d26f1
commit 0c2be0de38

View File

@ -14,6 +14,6 @@ before_install:
- sudo dpkg -i libgflags-dev_2.0-1_amd64.deb
# Lousy hack to disable use and testing of fallocate, which doesn't behave quite
# as EnvPosixTest::AllocateTest expects within the Travis OpenVZ environment.
script: OPT=-DTRAVIS make unity && OPT=-DTRAVIS make check -j8
script: OPT=-DTRAVIS make unity && make clean && OPT="-DTRAVIS -Wshadow" make check -j8
notifications:
email: false