特拉维斯失败了,但通过PR [英] Travis failed push but passed PR

查看:132
本文介绍了特拉维斯失败了,但通过PR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Travis的构建如何能够进行最新的推送但是通过了Pull请求?

How is it possible that Travis the build failed for the latest push but passed the Pull Request?

On the Gist on 2 nd link你可以找到Travis给出的 npm run build 命令的失败和传递输出日志。您还可以找到Travis的配置。

On the Gist on 2nd link you could find the failed and passed output log of the npm run build command that Travis gives. You could also find the configuration of Travis.

链接:

  • See also this image.[^]
  • Here you could find the output of the failed and succeed builds.[^]

没什么,因为我不明白为什么。

Nothing because I don't understand why.

推荐答案

我找到了问题的解决方案。

I've found the solution of the problem.

PR会将您的更改合并到基本分支中并运行CI测试。 Push将在当前分支上运行CI测试。将基本分支合并到您的分支中可能会解析分支上的构建测试。

PR will merge your changes into the base branch and run CI tests. Push will run CI tests on the current branch. Merging the base branch into your branch will likely resolve your build test on the branch.


这篇关于特拉维斯失败了,但通过PR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆