sudo: false
osx_image: xcode9
language: objective-c
rvm:
  - 2.3.1
xcode_project: PureLayout/PureLayout.xcodeproj
before_install:
  - rvm install 2.3.1
  - gem install slather --no-ri --no-rdoc

script:
  - xcodebuild test -project PureLayout/PureLayout.xcodeproj -scheme PureLayout_iOS -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.0'
  - xcodebuild test -project PureLayout/PureLayout.xcodeproj -scheme PureLayout_Mac -destination 'platform=OS X,arch=x86_64'

after_success: slather

sudo: false
osx_image: xcode8
language: objective-c
rvm:
  - 2.3.1
xcode_project: PureLayout/PureLayout.xcodeproj
before_install:
  - rvm install 2.3.1
  - gem install slather --no-ri --no-rdoc

script:
  - xcodebuild test -project PureLayout/PureLayout.xcodeproj -scheme PureLayout_iOS -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.0'
  - xcodebuild test -project PureLayout/PureLayout.xcodeproj -scheme PureLayout_Mac -destination 'platform=OS X,arch=x86_64'

after_success: slather

Revert "use iPhone 8, iOS 11.0"
Revert "use iPhone 8, iOS 11.0"

This reverts commit 3c8272823166fc9bc943b7f26cf1bafbf58ee09f.
