language: objective-c
osx_image: xcode8
cache: cocoapods
xcode_workspace: twiliochat.xcworkspace
xcode_scheme: twiliochat

before_install:
  - travis_wait pod repo update >/dev/null 2>&1

install:
  - travis_wait pod install

script:
  - xcodebuild -workspace twiliochat.xcworkspace -scheme twiliochat CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO clean build-for-testing | xcpretty
  - xcodebuild -workspace twiliochat.xcworkspace -scheme twiliochat -destination 'platform=iOS Simulator,name=iPhone 6' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO clean test | xcpretty

language: objective-c
osx_image: xcode10
cache: cocoapods
xcode_workspace: twiliochat.xcworkspace
xcode_scheme: twiliochat

before_install:
  - travis_wait pod repo update >/dev/null 2>&1

install:
  - travis_wait pod install

script:
  - xcodebuild -workspace twiliochat.xcworkspace -scheme twiliochat CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO clean build-for-testing | xcpretty
  - xcodebuild -workspace twiliochat.xcworkspace -scheme twiliochat -destination 'platform=iOS Simulator,name=iPhone 6' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO clean test | xcpretty

Update Travis image to latest Xcode 10
Update Travis image to latest Xcode 10
