From: Igor Canadi Date: Thu, 6 Nov 2014 21:29:17 +0000 (-0800) Subject: Turn on -Wshadow for travis X-Git-Tag: rocksdb-3.7~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0c2be0de382ce4a65740f203c35b39d2bc041c92;p=rocksdb.git Turn on -Wshadow for travis --- diff --git a/.travis.yml b/.travis.yml index 8f1bcb0a..ce43d703 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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