language: objective-c
osx_image: xcode8

before_install:
  - carthage bootstrap --verbose

script:
  - xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -destination 'platform=iOS Simulator,name=iPhone 6'

notifications:
  email: true

language: objective-c
osx_image: xcode8

before_install:
  - carthage bootstrap --verbose

script:
  - open -a "simulator" --args -CurrentDeviceUDID A84965FC-070D-4EAF-83E8-84FFE99F5866
  - xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -destination 'platform=iOS Simulator,name=iPhone 6'

notifications:
  email: true

Make sure to open simulator before running the build
Make sure to open simulator before running the build
