Vega-strike-engine-source: Travis-CI: Enhancements

Created on 5 Apr 2020  路  3Comments  路  Source: vegastrike/Vega-Strike-Engine-Source

Travis-CI has been integrated to do PR gate checks. It presently only supports a few of the Linux distros, Ubuntu versions at that. Update the Travis-CI configuration to support the following:

  • [ ] Ubuntu 18.04
  • [ ] Ubuntu 20.04
  • [ ] CentOS/Fedora Version ????
  • [ ] Mac OS 10.15 (Catalina)
  • [ ] Windows 10

Additional Possible Versions:

  • [ ] Mac OS 10.14 (Mojave)

If this is not possible with Travis-CI, then is there an open-source project friendly and no cost CI system that can support these platforms? If not, we may need some community members to do periodic testing on supported platforms that can't be PR gated.

bug help wanted

Most helpful comment

I've figured out OSX. I can match all our dependencies to brew installations so we should be okay; will see once I get the PR up.

Windows support is going to be harder. The package manager Travis is using for Windows (chocolatey.org) only has the following packages that match up with our dependencies:

  • python2
  • openal, openalsdk

We're probably going to have to just vendor stuff for Windows or add support to Chocolotey if we wanted to use that. The Windows support is still very very lacking; enough that it's not worth adding yet. Errors when trying to test using the https://config.travis-ci.com/explore:

  • Doesn't recognize windows as an OS
  • Doesn't recognize choco or chocolatey as an addon

It'll be a lot of custom work to support Windows right now. Let me get the Mac OS X support up and then we can see about Windows in a later PR.

All 3 comments

Looks like Mac OS X is supported by Travis-CI.

Looks like Windows support is still experimental by Travis-CI:

I suggest we start adding both the Windows and MacOS support to what we can, and allow them to fail for the time being. As Travis-CI matures and as we mature the config we can move to requiring them to pass.

I've figured out OSX. I can match all our dependencies to brew installations so we should be okay; will see once I get the PR up.

Windows support is going to be harder. The package manager Travis is using for Windows (chocolatey.org) only has the following packages that match up with our dependencies:

  • python2
  • openal, openalsdk

We're probably going to have to just vendor stuff for Windows or add support to Chocolotey if we wanted to use that. The Windows support is still very very lacking; enough that it's not worth adding yet. Errors when trying to test using the https://config.travis-ci.com/explore:

  • Doesn't recognize windows as an OS
  • Doesn't recognize choco or chocolatey as an addon

It'll be a lot of custom work to support Windows right now. Let me get the Mac OS X support up and then we can see about Windows in a later PR.

Added #43 which adds some more OS configurations, namely Ubuntu 18.04 and OS X.

OS X builds are allowed to fail right now, which is good b/c they are. More work is needed to get it fully working but that PR at least builds the foundation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nabaco picture nabaco  路  27Comments

Loki1950 picture Loki1950  路  61Comments

BenjamenMeyer picture BenjamenMeyer  路  29Comments

nabaco picture nabaco  路  27Comments

nabaco picture nabaco  路  27Comments