]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Turn on -Wshadow for travis
authorIgor Canadi <icanadi@fb.com>
Thu, 6 Nov 2014 21:29:17 +0000 (13:29 -0800)
committerIgor Canadi <icanadi@fb.com>
Thu, 6 Nov 2014 21:29:17 +0000 (13:29 -0800)
.travis.yml

index 8f1bcb0ae0c657c0e8ca6582cb29ea66a5d0c51b..ce43d7030176a0ce02daf75fe0003304cbcd1ee1 100644 (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