If you look at the “Build Environment” , the “Virtualization Environments” section contains a table listing the various operating systems that Travis CI currently supports. Currently (2016-08-15), which includes:
- Ubuntu 12.04 LTS Server Edition 64 bit (without
sudo ) - Ubuntu 12.04 LTS Server Edition 64 bit (with
sudo ) - OS X Mavericks
- Ubuntu 14.04 LTS Server Edition 64 bit (with
sudo )
As also indicated, the Ubuntu 12.04 LTS Server image is the default, so you can only switch to one other Linux distribution, namely trusty . Given that the dist property has only one possible value, I assume that the need to "list all possible values" is limited.
However, for OS X, this is not the end of the story. The OS X environmental documentation lets us know that the osx_image property can have a number of different values that will change both the version of Xcode as well as the version of OS X:
- OS X 10.11
osx_image: xcode8 (Xcode 8 beta 4)osx_image: xcode7.3 (Xcode 7.3.1)osx_image: xcode7.2 (Xcode 7.2.1)
- OS X 10.10
osx_image: xcode7.1 (Xcode 7.1.1 GM)osx_image: xcode7 (Xcode 7)osx_image: xcode6.4 (Xcode 6.4)osx_image: beta-xcode6.3 (Xcode 6.3)
- OS X 10.9
osx_image: beta-xcode6.2 (Xcode 6.2)osx_image: beta-xcode6.1 ( Default , Xcode 6.1)
Interestingly, beta-xcode6.1 displayed as the default image for OS X, which has the old version of Xcode and OS X and also appears to be in beta (whatever that means). Therefore, it may be a good idea to explicitly configure one or more versions of osx_image in matrix if you are going to create for OS X.
Update . As of October 2017, OS X 10.11 with Xcode 7.3.1 is the default, and the latest version is OS X 10.12 with Xcode 9.
source share