aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Doug Greiman <dgreiman@google.com>2018-01-11 12:14:53 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-11 12:16:57 -0800
commitb30dfcb639f284d5b43973b6e8742e148f438fbe (patch)
tree764ae119e4d0588d428327a2640d21b8316609ac /scripts
parent67ac826b26283040922200239f2f53fcc2c225cc (diff)
Add CI configuration to run tests with Python 3 interpreter
Fixes #3872 Closes #3873. PiperOrigin-RevId: 181644101
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/bazel-tests.json12
1 files changed, 11 insertions, 1 deletions
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": {