I'm trying to test a framework on multiple iOS SDKs to make sure it's working on all. But I'm realizing that not all SDKs are available on all of the travis-ci osx_image. For example xcode7 only has iphonesimulator9.0.
Is there a way to specify an osx_image in a matrix? This is what my file looks like right now:
language: objective-c
osx_image: xcode7
env:
matrix:
- SDK=iphonesimulator8.1
- SDK=iphonesimulator8.2
- SDK=iphonesimulator8.3
- SDK=iphonesimulator8.4
- SDK=iphonesimulator9.0
script:
- xctool clean test -project KGNColor.xcodeproj -scheme KGNColor -sdk $SDK
Are you looking for something like this?
https://github.com/realm/jazzy/blob/master/.travis.yml#L12-L17
The docs for Travis are a little sparse, but I saw this a while back on their twitter feed. https://twitter.com/travisci/status/644930409730580480