Turn on -Wshadow for travis

main
Igor Canadi 10 years ago
parent 5fd33d26f1
commit 0c2be0de38
  1. 2
      .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

Loading…
Cancel
Save