Windows Build Images (including Visual Studio Build Tools)

When using OS X build environments on Travis, then it is possible to specify a osx_image to get a predefined set of build tools (including XCode, JDK, …). It would be great to have something similar for Windows, so that you can specify to get a Windows environment that has MS Visual Studio 2015 or MS Visual Studio 2017 preinstalled.

In our company we want to build an Electron app on Travis CI with Windows. For this purpose we need to install Python and VCC Build Tools. This environment setup is so popular, that there is even a npm package which helps with the installation process of all these tools: https://github.com/felixrieseberg/windows-build-tools

There might be a lot of other companies that have our use case (building Electron apps), so it would be great to have a Windows image which has all build tools already installed to get started with Electron.

4 Likes
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install: choco install python vcredist-all

https://chocolatey.org/packages/vcredist-all

It would make a lot of sense to have the same build images as on Mac OS X (Appveyor has vs2017 and vs2019 images) with the build tools preinstalled.

Imprint