From b30dfcb639f284d5b43973b6e8742e148f438fbe Mon Sep 17 00:00:00 2001 From: Doug Greiman Date: Thu, 11 Jan 2018 12:14:53 -0800 Subject: Add CI configuration to run tests with Python 3 interpreter Fixes #3872 Closes #3873. PiperOrigin-RevId: 181644101 --- scripts/ci/bazel-tests.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ci/bazel-tests.json b/scripts/ci/bazel-tests.json index 62af16f2da..efd8bf1f11 100644 --- a/scripts/ci/bazel-tests.json +++ b/scripts/ci/bazel-tests.json @@ -3,7 +3,17 @@ [ { "configurations": [ - {"node": "linux-x86_64"}, + { + "node": "linux-x86_64", + "python_version": "2" + }, + { + "node": "linux-x86_64", + "python_version": "3", + "parameters": { + "build_opts": ["--python_path=/usr/bin/python3"] + } + }, {"node": "ubuntu_16.04-x86_64"} ], "parameters": { -- cgit v1.2.3