language: objective-c

matrix:
  include:
    - osx_image: xcode7.3
    - osx_image: xcode8
    - osx_image: xcode8.1

script:
  - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone 6\" test"
  - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-OSX test"

language: objective-c

osx_image: xcode8.1

script:
  - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone 6\" test"
  - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-OSX test"

Configure Travis CI to build with Xcode 8.1 only
Configure Travis CI to build with Xcode 8.1 only

Xcode 7.3 builds on Travis were repeatedly failing because xcodebuild would build dependencies for the wrong platform. (rdar://20490378, rdar://22008701, rdar://22816454)
Xcode 8.0 builds on Travis were occasionally failing because xcodebuild would exit with status 65 and no explanation of the failure.
