Ric*_*eet 7 git gitlab gitlab-ci-runner
这些是我的错误信息
Running with gitlab-ci-multi-runner 1.5.3 (fb49c47)
Using Shell executor...
Running on luckyxmobiledeMac-mini-2.local...
Fetching changes...
HEAD is now at e56d7ac Update README.md
Checking out e56d7ace as master...
bash: line 4: shell_session_update: command not found
ERROR: Build failed: exit status 127
Run Code Online (Sandbox Code Playgroud)
这些是我的.gitlab-ci.yml:=的内容
stages:
- build
build_project:
stage: build
script:
- xcodebuild clean -project ProjectName.xcodeproj -scheme SchemeName | xcpretty
- xcodebuild test -project ProjectName.xcodeproj -scheme SchemeName -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.2' | xcpretty -s
tags:
- ios_9-2
- osx_10-11
基于超级用户的这个问题,这似乎是rvm服务器上的包的问题.
您可以阅读该问题并回答问题的完整解释,但他们的解决方案是更新rvm到1.26.11或更高版本.
要更新到最新的稳定版本,请执行以下操作:
rvm get stable
Run Code Online (Sandbox Code Playgroud)