language: objective-c
osx_image: xcode9

matrix:
  include:
    - xcode_scheme: Gzip macOS
      xcode_sdk: macosx
      env: DESTINATION="arch=x86_64"
    - xcode_scheme: Gzip iOS
      xcode_sdk: iphonesimulator
      env: DESTINATION="OS=10.0,name=iPhone SE"

script:
  - swiftlint
  - swift test
  - xcodebuild
      -scheme "$TRAVIS_XCODE_SCHEME"
      -sdk "$TRAVIS_XCODE_SDK"
      -destination "$DESTINATION"
      clean test
      | xcpretty -f `xcpretty-travis-formatter`
  - pod lib lint --quick
after_success:
  - bash <(curl -s https://codecov.io/bash)

language: objective-c
osx_image: xcode9.1

matrix:
  include:
    - xcode_scheme: Gzip macOS
      xcode_sdk: macosx
      env: DESTINATION="arch=x86_64"
    - xcode_scheme: Gzip iOS
      xcode_sdk: iphonesimulator
      env: DESTINATION="OS=10.0,name=iPhone SE"

script:
  - swiftlint
  - swift test
  - xcodebuild
      -scheme "$TRAVIS_XCODE_SCHEME"
      -sdk "$TRAVIS_XCODE_SDK"
      -destination "$DESTINATION"
      clean test
      | xcpretty -f `xcpretty-travis-formatter`
  - pod lib lint --quick
after_success:
  - bash <(curl -s https://codecov.io/bash)

Update Xcode image for Travis CI to Xcode 9.1
Update Xcode image for Travis CI to Xcode 9.1
