Travis CI 可以为特定的 Matrix 配置生成徽章吗? [英] Can Travis CI generate a badge for a specific Matrix configuration?

查看:32
本文介绍了Travis CI 可以为特定的 Matrix 配置生成徽章吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在针对两个不同版本的 SDK 测试我的库:稳定版 SDK 和开发版 SDK.具体来说:https://travis-ci.org/google/serialization.dart>

我希望我的库能够通过稳定版 SDK 的测试.但是,使用 dev SDK 的测试可能会失败,因为 dev SDK 可能已损坏.

我想向我的用户展示两个徽章,以明确表明是的,构建失败,但只是开发 SDK".

这可能吗?谢谢!

解决方案

这个开源 Web 应用程序可以为矩阵构建创建徽章:https://github.com/bjfish/travis-matrix-badges

I am testing my library against two different versions of my SDK: the stable SDK and the dev SDK. Specifically: https://travis-ci.org/google/serialization.dart

I expect my library to pass its tests with the stable SDK. However, the tests might fail with the dev SDK because the dev SDK might be broken.

I'd like to display two badges to my users, to clearly indicate that "yes, the build failed, but it was just the dev SDK".

Is this possible? Thanks!

解决方案

This open source web app can create badges for a matrix build: https://github.com/bjfish/travis-matrix-badges

这篇关于Travis CI 可以为特定的 Matrix 配置生成徽章吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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