AJcodez AJcodez - 1 year ago 147
Linux Question

How to make Travis CI test package for Linux, OS X, Windows?

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.

Answer Source

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:


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).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download