Support for windows/mac

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


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:

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

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

It seems to me that the failure is coming from the utility haxelib.

curl can download the file without any problem on Windows.

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

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:

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.