github - travis ci构建错误

标签 github travis-ci

我在 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/

相关文章:

git - 如何保存更改并退出 Vim?

Github 将贡献从一个帐户转移到另一个帐户

git - 如何从远程删除分支(在 Atlassian Stash/Bitbucket 上)

android - 如何使用android studio将子模块推送到github?

git - Github 发布如何生成存档文件名?

javascript - 为什么当我使用 Tabs 时 Travis 不让我通过?

java - 在没有 Oauth2 的情况下使用 Travis CI 和 Maven 部署到 Appengine

amazon-web-services - 将 Docker 从 Travis 部署到 AWS(或任何其他支持 SSH 的服务器)

android - 为什么 Travis CI 每次构建时都要下载所有内容?

c++ - 在 Travis-CI 上使用 Conan 和 Python3