
osx_image: xcode9.2
language: objective-c

branches:
  only:
    - master

env:
   - DIR=HelloMap.Objective-C
   - DIR=AdvancedMap.Objective-C
   - DIR=CartoMap.Objective-C
   - DIR=AdvancedMap.Swift

script: cd $DIR && pod update && xcodebuild -workspace $DIR.xcworkspace -scheme $DIR -sdk iphonesimulator -arch "x86_64" ONLY_ACTIVE_ARCH=NO VALID_ARCHS="x86_64" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO clean install

# script: cd $DIR && pod update && xcodebuild -enableCodeCoverage YES -workspace $DIR.xcworkspace -scheme $DIR -sdk iphonesimulator -arch "x86_64" ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator9.3

osx_image: xcode10.2
language: objective-c

branches:
  only:
    - master

env:
   - DIR=HelloMap.Objective-C
   - DIR=AdvancedMap.Objective-C
   - DIR=CartoMap.Objective-C
   - DIR=AdvancedMap.Swift

script: cd $DIR && pod update && xcodebuild -workspace $DIR.xcworkspace -scheme $DIR -sdk iphonesimulator -arch "x86_64" ONLY_ACTIVE_ARCH=NO VALID_ARCHS="x86_64" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO clean install

# script: cd $DIR && pod update && xcodebuild -enableCodeCoverage YES -workspace $DIR.xcworkspace -scheme $DIR -sdk iphonesimulator -arch "x86_64" ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator9.3

Update osx_image in Travis script
Update osx_image in Travis script
