language: objective-c
osx_image: xcode8.1

before_install:
  - Frameworks/gethamcrest
  - sudo easy_install cpp-coveralls
  - gem install xcpretty --no-rdoc --no-ri --no-document --quiet

script:
  - set -o pipefail && xcodebuild test -project Source/OCMockito.xcodeproj -scheme OCMockito -sdk macosx | xcpretty
  - set -o pipefail && xcodebuild test -project Source/OCMockito.xcodeproj -scheme libocmockito -sdk iphonesimulator10.1 -destination "platform=iOS Simulator,name=iPhone 5,OS=10.1" | xcpretty
  - set -o pipefail && xcodebuild test -project Source/OCMockito.xcodeproj -scheme libocmockito -sdk iphonesimulator10.1 -destination "platform=iOS Simulator,name=iPhone 5s,OS=10.1" | xcpretty
  - pod spec lint --quick

after_success:
  - ./Cocoanetics-Ruby/coveralls.rb --exclude-folder Source/Tests --exclude-folder Source/ThirdParty --exclude-folder Frameworks --exclude-folder Examples

language: objective-c
osx_image: xcode8.3

before_install:
  - Frameworks/gethamcrest
  - sudo easy_install cpp-coveralls
  - gem install xcpretty --no-rdoc --no-ri --no-document --quiet

script:
  - set -o pipefail;
  - xcodebuild test -project Source/OCMockito.xcodeproj -scheme OCMockito -sdk macosx | xcpretty
  - xcodebuild test -project Source/OCMockito.xcodeproj -scheme libocmockito -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5" | xcpretty
  - xcodebuild test -project Source/OCMockito.xcodeproj -scheme libocmockito -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5s" | xcpretty
  - pod spec lint --quick

after_success:
  - ./Cocoanetics-Ruby/coveralls.rb --exclude-folder Source/Tests --exclude-folder Source/ThirdParty --exclude-folder Frameworks --exclude-folder Examples

Use latest Xcode, latest iOS
Travis: Use latest Xcode, latest iOS
