Browse Source

Add -Werror for CI builds

Keith Smiley 6 years ago
parent
commit
1958925c76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kokoro/linux/bazel/build.sh

+ 1 - 1
kokoro/linux/bazel/build.sh

@@ -7,7 +7,7 @@ set -ex
 cd $(dirname $0)/../../..
 
 git submodule update --init --recursive
-bazel test :protobuf_test
+bazel test :protobuf_test --copt=-Werror --host_copt=-Werror
 
 cd examples
 bazel build :all