# ref. http://docs.travis-ci.com/user/languages/objective-c/

language: objective-c
osx_image: xcode8.1

xcode_workspace: CotEditor.xcworkspace
xcode_scheme: CotEditor

before_install:
  - gem install xcpretty
  - gem install xcpretty-travis-formatter
  - carthage update --platform macOS
script:
  set -o pipefail &&
  xcodebuild clean test
  -workspace "$TRAVIS_XCODE_WORKSPACE"
  -scheme "$TRAVIS_XCODE_SCHEME"
  CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
  | xcpretty -f `xcpretty-travis-formatter`

# ref. http://docs.travis-ci.com/user/languages/objective-c/

language: objective-c
osx_image: xcode8.2

xcode_workspace: CotEditor.xcworkspace
xcode_scheme: CotEditor

before_install:
  - gem install xcpretty
  - gem install xcpretty-travis-formatter
  - carthage update --platform macOS
script:
  set -o pipefail &&
  xcodebuild clean test
  -workspace "$TRAVIS_XCODE_WORKSPACE"
  -scheme "$TRAVIS_XCODE_SCHEME"
  CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
  | xcpretty -f `xcpretty-travis-formatter`

Update Xcode image of Travis CI
Update Xcode image of Travis CI
