我的travis构建突然开始失败(在before_deploy和deploy之间):
Ruby ruby-2.2.5 is not installed.
The command "rvm 2.2.5 --fuzzy do ruby -S gem install dpl" failed and exited with 2 during .
Run Code Online (Sandbox Code Playgroud)
想法如何解决这个问题?
.travis.yaml
before_deploy:
- export PATH=$PATH:${CLOUD_SDK_PATH}/bin
- openssl aes-256-cbc -K $encrypted_c09a72752447_key -iv $encrypted_c09a72752447_iv -in contrib/gae/secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
deploy:
- provider: script
skip_cleanup: true
script: fab deploy:target='DEV',ci=True
on: develop
Run Code Online (Sandbox Code Playgroud)
我也刚打过 解决方法是,您可能可以显式安装ruby 2.2.5,在我的before_install步骤中添加安装命令对我有用:
before_install:
- rvm install 2.2.5
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
380 次 |
| 最近记录: |