language: objective-c
osx_image: xcode9.2
env:
  - DESTINATION="OS=11.2,name=iPhone 8" SCHEME="Eureka" SDK=iphonesimulator
before_install:
  - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
  - brew update
  - brew outdated carthage || brew upgrade carthage
script:
  - set -o pipefail
  - xcodebuild -version
  - xcodebuild -project Eureka.xcodeproj -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
before_deploy:
  - carthage build --no-skip-current
  - carthage archive Eureka
deploy:
  file: Eureka.framework.zip
  skip_cleanup: true
  on:
    tags: true

language: objective-c
osx_image: xcode9.3
env:
  - DESTINATION="OS=11.3,name=iPhone 8" SCHEME="Eureka" SDK=iphonesimulator
before_install:
  - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
  - brew update
  - brew outdated carthage || brew upgrade carthage
script:
  - set -o pipefail
  - xcodebuild -version
  - xcodebuild -project Eureka.xcodeproj -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
before_deploy:
  - carthage build --no-skip-current
  - carthage archive Eureka
deploy:
  file: Eureka.framework.zip
  skip_cleanup: true
  on:
    tags: true

Update Travis to use Xcode 9.3
Update Travis to use Xcode 9.3
