I am new to Travis CI and created a basic build and testing against one project and environment. .travis.ymlas follows:
language: objective-c
osx_image: xcode7
xcode_project: ./[project]/[project].xcodeproj
xcode_scheme: [project]
xcode_sdk: iphonesimulator9.0
This works great, but I also want to test. other versions of the iOS simulator (for example, 8.4).
I understand that I can use xctoolfrom a script section, as in mine .travis.yml, and this works fine too:
script:
xctool -project ./[project]/[project].xcodeproj -scheme [project] -sdk iphonesimulator9.0 build test
However, I do not see how to launch any other version of iOS. Objective-C docs for Travis CI say that for the simulator iOS versions are available for osx_image: xcode7, but when $ xcodebuild -version -sdklaunched on CI it only shows the availability of iOS 9.
What am I missing here to test other versions of iOS against installing Xcode?