【发布时间】:2016-08-04 08:46:31
【问题描述】:
我尝试使用以下.travis.yml 在 Travis 上安装 Google Cloud SDK
sudo: required
language: go
- curl https://sdk.cloud.google.com | bash;
我的尝试受到 Google 的这份指南的启发:https://cloud.google.com/solutions/continuous-delivery-with-travis-ci
不幸的是,我在 Travis 上得到了这个输出:
$ curl https://sdk.cloud.google.com | bash;
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 421 0 421 0 0 17820 0 --:--:-- --:--:-- --:--:-- 60142
Downloading Google Cloud SDK install script: https://dl.google.com/dl/cloudsdk/channels/rapid/install_google_cloud_sdk.bash
######################################################################## 100.0%
Running install script from: /tmp/tmp.uz8jP70e56/install_google_cloud_sdk.bash
which curl
curl -# -f https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz
######################################################################## 100.0%
Installation directory (this will create a google-cloud-sdk subdirectory) (/home/travis):
Travis 等待 10 分钟,然后终止构建。好像在等待安装目录。
如何在 Travis 上安装 Google Cloud SDK?
【问题讨论】:
标签: google-cloud-platform travis-ci