如何为Linux,OS X,Windows制作Travis CI测试包? [英] How to make Travis CI test package for Linux, OS X, Windows?

查看:78
本文介绍了如何为Linux,OS X,Windows制作Travis CI测试包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以告诉Travis CI(或其他持续集成服务)在不同的操作系统上测试软件包?

使用文件系统,最好再次检查所有与平台无关的文件系统.

解决方案

更新3

Windows支持已发布!您现在可以在Linux,macOS和Windows上使用Travis CI.您可以在此处找到他们的博客文章. /p>

更新2

此功能现已启用(无需向Travis团队发送请求).尽管仍被认为是Beta版:

对我来说很好,这是Linux + OSX配置:

Windows支持仍在进行中(请参阅 AppVeyor .配置文件示例:

更新


Travis CI 有一个未解决的问题:

作为Linux + Mac OS X的一种解决方法,您可以创建两个分支.一种具有默认配置(用于Linux),一种具有objective-c语言(用于Mac OS X).

Is there a way to tell Travis CI (or another continuous integration service) to test the package on different operating systems?

Working with the filesystem, and it would be great to double-check it's all platform-agnostic.

解决方案

Update 3

Windows support has been released! You can now use Travis CI with Linux, macOS, and Windows. You can find their blog post about it here.

Update 2

This feature is enabled now (no need to send request to Travis team). Though still considered beta:

Works fine for me, here is Linux + OSX configuration:

Windows support still in progress (see windows issues) as alternative AppVeyor can be used. Example of configuration file:

Update


There is an open issue for Travis CI:

As a workaround for Linux + Mac OS X you can create two branches. One with default config (for Linux) and one with objective-c language (for Mac OS X).

这篇关于如何为Linux,OS X,Windows制作Travis CI测试包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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