ios - How to include multiple OS X images in .travis.yml -


i new travis , want include multiple os x images can test build on different os x platforms os x 10.10 , os x 10.9

xcode 7.3 (os x 10.11) – osx_image: xcode7.3

xcode 6.4 (os x 10.10) – osx_image: xcode6.4

xcode 6.2 (os x 10.9) – osx_image: beta-xcode6.2

here current .travis.yml

language: objective-c osx_image: xcode7.3  install:   - carthage update nimble quick --platform ios --no-use-binaries   - carthage update alamofire --no-use-binaries  script:   - xcodebuild clean test -project restofire.xcodeproj     -scheme restofire-ios     -sdk iphonesimulator only_active_arch=no     -destination 'name=iphone 6,os=9.3' 

you can use build matrix test on different versions of os x specifying different osx_image, vaguely explained in testing project on multiple operating systems.

sample .travis.yml:

language: objective-c  matrix:   include:     - osx_image: xcode7.3     - osx_image: xcode7.1 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -