我在 Travis CI 上构建时遇到问题。我在 git 上遇到了这些错误,这阻碍了我。我试图重新启动构建和类似的东西,但它没有用。我的 .travis.yml:
language: node_js
node_js:
- "0.12"
- "0.10"
branches:
only:
- v1.0.0_dev
- v1.0.0_stable
before_script:
- npm install -g bower
- npm install -g gulp
- npm install -g karma
- bower install
- gulp prod
这是错误代码:
0.53s$ git clone --depth=50 git://github.com/GUMGA/components.git
GUMGA/components
Cloning into 'GUMGA/components'...
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 5 (delta 0), pack-reused 0
Receiving objects: 100% (5/5), done.
Checking connectivity... done.
$ cd GUMGA/components
3.08s$ git fetch origin +refs/pull/3/merge:
fatal: Couldn't find remote ref refs/pull/3/merge
The command "eval git fetch origin +refs/pull/3/merge:" failed.
Retrying, 2 of 3.
fatal: Couldn't find remote ref refs/pull/3/merge
The command "eval git fetch origin +refs/pull/3/merge:" failed.
Retrying, 3 of 3.
fatal: Couldn't find remote ref refs/pull/3/merge
The command "eval git fetch origin +refs/pull/3/merge:" failed 3 times.
The command "git fetch origin +refs/pull/3/merge:" failed and exited with 128 during. Your build has been stopped.
最佳答案
您之前合并了拉取请求(此处:#3):
fatal: Couldn't find remote ref refs/pull/3/merge
尝试再次打开 PR 或创建新的提交!
关于github - travis ci构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31457632/