| # Build file to set up and run tests |
| cd $(dirname $0)/../../.. |
| source kokoro/common/pyenv.sh |
| git submodule update --init --recursive |
| # Disabled for now, re-enable if appropriate. |
| # //:build_files_updated_unittest \ |
| -k --copt=-Werror --host_copt=-Werror --test_output=errors \ |
| @com_google_protobuf_examples//... |
| # Verify that we can build successfully from generated tar files. |
| pyenv shell 2.7.9 # python2 required for old googletest autotools support |
| ./autogen.sh && ./configure && make -j$(nproc) dist |
| bazel build //:protobuf //:protobuf_java |