language: objective-c
osx_image: xcode9.3
sudo: false

env:
  global:
    - SCHEME="UITextView+Placeholder"
    - IOS_SDK="iphonesimulator11.3"
    - DESTINATION="OS=11.3,name=iPhone X"

script:
  - xcodebuild clean test -project "UITextView+Placeholder.xcodeproj" -scheme "$SCHEME" -sdk "$IOS_SDK" -destination "$DESTINATION" -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c

language: objective-c
osx_image: xcode11
sudo: false

env:
  global:
    - PROJECT="UITextView+Placeholder.xcodeproj"
    - SCHEME="UITextView+Placeholder"
  matrix:
    - SDK="iphonesimulator11.4"      DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=11.4"
    - SDK="iphonesimulator12.4"      DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=12.4"
    - SDK="iphonesimulator13.0"      DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=13.0"

script:
  - xcodebuild clean test
    -project "$PROJECT"
    -scheme "$SCHEME"
    -sdk "$SDK"
    -destination "$DESTINATION"
    -configuration Debug
    CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c

Update Travis to use Xcode 11
Update Travis to use Xcode 11
