language: objective-c

os: osx
osx_image: xcode7

env:
  matrix:
    - NAME='iPhone 6' OS=8.1
    - NAME='iPhone 6' OS=8.2
    - NAME='iPhone 6' OS=8.3
    - NAME='iPhone 6' OS=8.4
    - NAME='iPhone 4S' OS=9.0
    - NAME='iPhone 5S' OS=9.0
    - NAME='iPhone 6' OS=9.0
    - NAME='iPhone 6 Plus' OS=9.0
    - NAME='iPad 2' OS=9.0
    - NAME='iPad Air' OS=9.0
script:
  - xcodebuild -project RMActionController-Demo.xcodeproj -scheme RMActionController-Demo -sdk iphonesimulator9.0 ONLY_ACTIVE_ARCH=NO
  - xcodebuild test -project RMActionController-Demo.xcodeproj -scheme RMActionController-Demo -destination "platform=iOS Simulator,name=$NAME,OS=$OS"

language: objective-c

os: osx
osx_image: xcode7

env:
  matrix:
    - NAME='iPhone 6' OS=8.1
    - NAME='iPhone 6' OS=8.2
    - NAME='iPhone 6' OS=8.3
    - NAME='iPhone 6' OS=8.4
    - NAME='iPhone 4S' OS=9.0
    - NAME='iPhone 5S' OS=9.0
    - NAME='iPhone 6' OS=9.0
    - NAME='iPhone 6 Plus' OS=9.0
    - NAME='iPad 2' OS=9.0
    - NAME='iPad Air' OS=9.0
script:
  - xcodebuild -workspace RMActionController-Demo.xcworkspace -scheme RMActionController-Demo -sdk iphonesimulator9.0 ONLY_ACTIVE_ARCH=NO
  - xcodebuild test -workspace RMActionController-Demo.xcworkspace -scheme RMActionController-Demo -destination "platform=iOS Simulator,name=$NAME,OS=$OS"

Use the workspace and not the project
Use the workspace and not the project
