language: objective-c

before_install:
  - sudo easy_install cpp-coveralls

script:
  - xctool test -project Sample/MockUIAlertViewActionSheetSample.xcodeproj -scheme MockUIAlertViewActionSheetSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 5,OS=8.4"
  - xctool test -project Sample/MockUIAlertViewActionSheetSample.xcodeproj -scheme MockUIAlertViewActionSheetSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 6,OS=8.4"

after_success:
  - ./Cocoanetics-Ruby/coveralls.rb --exclude-folder Sample

language: objective-c
osx_image: xcode6.4

before_install:
  - sudo easy_install cpp-coveralls

script:
  - xctool test -project Sample/MockUIAlertViewActionSheetSample.xcodeproj -scheme MockUIAlertViewActionSheetSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 5,OS=8.4"
  - xctool test -project Sample/MockUIAlertViewActionSheetSample.xcodeproj -scheme MockUIAlertViewActionSheetSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 6,OS=8.4"

after_success:
  - ./Cocoanetics-Ruby/coveralls.rb --exclude-folder Sample

Revert "Don't lock Xcode version for Travis"
Revert "Don't lock Xcode version for Travis"

This reverts commit 78af5b72e9f3a03cfd7b97e2021a7e579a9c87cf.
