Merge pull request #12270 from matt-kwong/kokoro_mac_bq

Fix uploading Mac results to BQ
pull/12309/head^2
Matt Kwong 8 years ago committed by GitHub
commit 5646c7463c
  1. 10
      tools/internal_ci/helper_scripts/prepare_build_macos_rc

@ -28,8 +28,7 @@ ulimit -n 10000
ulimit -a
# Add GCP credentials for BQ access
# pip does not install google-api-python-client properly, so use easy_install
sudo easy_install --upgrade google-api-python-client
pip install google-api-python-client --user python
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/GrpcTesting-d0eeee2db331.json
# required to build protobuf
@ -53,9 +52,10 @@ pod repo update # needed by python
# python
brew install coreutils # we need grealpath
sudo pip install virtualenv
sudo pip install -U six tox setuptools
export PYTHONPATH=/Library/Python/3.4/site-packages
pip install virtualenv --user python
pip install -U six tox setuptools --user python
export PYTHONPATH=/Library/Python/2.7/site-packages
source ~/.bashrc
# python 3.4
wget -q https://www.python.org/ftp/python/3.4.4/python-3.4.4-macosx10.6.pkg

Loading…
Cancel
Save