# Support for windows/mac

**URL:** <https://travis-ci.community/t/support-for-windows-mac/10155>\
**Category:** Haxe\
**Created:** [October 13, 2020, 9:59pm UTC](https://travis-ci.community/t/support-for-windows-mac/10155 "2020-10-13T21:59:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NQNStudios](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nqnstudios/32/5175_2.png) [@NQNStudios](https://travis-ci.community/u/NQNStudios)\
**Post date:** [October 13, 2020, 9:59pm UTC](https://travis-ci.community/t/support-for-windows-mac/10155/1 "2020-10-13T21:59:37Z")

</div>

Travis CI now has support for testing on multiple operating systems:

> **[Travis CI Documentation](https://docs.travis-ci.com/user/multi-os/)**
>
> Testing Your Project on Multiple Operating Systems

  

> **[Travis CI Documentation](https://docs.travis-ci.com/user/reference/windows/)**
>
> The Windows Build Environment

I want to leverage this for testing my haxe projects. Just to see what happened, I added an `os` list to my .travis.yml. Here is the result:

> **[Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/github/hissvn/hiss/builds/735545249)**

Mac OS testing worked right out of the box. On Windows it looks like `haxelib install` fails because of a certificate issue:

```auto
Downloading ihx-0,4,0.zip...
Download complete: 0.25KB in 0.5s (0.4KB/s)
Download complete: 0KB in 0s (0KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/ihx-0,4,0.zip. (1/3)
X509 - Certificate verification failed, e.g. CRL, CA or signature check failed

```

It would be great if Haxe Travis could support this use-case, and the docs should be updated so people know it’s possible (at least for Mac OS as of now).

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [October 14, 2020, 1:25pm UTC](https://travis-ci.community/t/support-for-windows-mac/10155/2 "2020-10-14T13:25:08Z")

</div>

It seems to me that the failure is coming from the utility [`haxelib`](https://github.com/hissvn/hiss/blob/eebd6eeca646c45636725e73e2a38c814b0871e7/test-travis.sh#L3).

`curl` can download the file without any problem on Windows.

> **[Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/github/BanzaiMan/travis_production_test/builds/735718751#L60)**

```auto
$ curl -sSfLO https://lib.haxe.org:443/files/3.0/ihx-0,4,0.zip
The command "curl -sSfLO https://lib.haxe.org:443/files/3.0/ihx-0,4,0.zip" exited with 0.

```

I am not familiar with the internals of `haxelib`, so that’s about all I can say at the moment.

---

<div class="post-metadata">

**Author:** ![NQNStudios](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nqnstudios/32/5175_2.png) [@NQNStudios](https://travis-ci.community/u/NQNStudios)\
**Post date:** [October 14, 2020, 2:52pm UTC](https://travis-ci.community/t/support-for-windows-mac/10155/3 "2020-10-14T14:52:37Z")

</div>

I found a workaround. I don’t know why it works, but if it could be incorporated in the default haxe install for windows testing, this would mostly be solved:

> <https://github.com/andyli/HaxeCI/blob/31dfb5cd35928458605958eb3dd4838731696bb3/.travis.yml#L71-L74>

The other thing that example does is install runtimes for all the haxe target languages on Windows. People testing haxe projects won’t want all of those installed so I don’t know if that should be default as well.
