Support for Cygwin or WSL?


#1

Hello,
Thanks a lot for adding Windows support!
Any plan to add Cygwin and/or WSL?
Cygwin seems to slow to install even with a travis_wait 30

Example use case: test ansible in Windows… https://travis-ci.org/juju4/ansible-harden-windows/jobs/444187243

Thanks


#2

Hi @juju

I will look at building a new image with WSL preinstalled. This should be available by Monday.


#3

Thanks a lot Josh! So fast :smiley:


#4

I’ve been hoping to utilise WSL on a Travis-CI build so I can test Ansible roles for Windows. I’ve been able to get WSL installed and running with https://github.com/jborean93/travis-ci-win-ansible/blob/master/.travis.yml but unfortunately it takes around 10 minutes to install the Ubuntu 18.04 distro on top of WSL which is probably a bit too long for my liking. Is there a possibility of including a distro by default or even selecting one as part of a build environment so I can save some time here?