language: objective-c
env:
  matrix:
   - NAME='iPhone 4S' OS=8.1
   - NAME='iPhone 5' OS=8.1
   - NAME='iPhone 6' OS=8.1
   - NAME='iPhone 6 Plus' OS=8.1
   - NAME='iPad 2' OS=8.1
   - NAME='iPad Retina' OS=8.1
   - NAME='iPad Air' OS=8.1
script:
  - xcodebuild -project RMDateSelectionViewController-Demo.xcodeproj -scheme RMDateSelectionViewController-Demo -sdk iphonesimulator8.1 ONLY_ACTIVE_ARCH=NO
  - xcodebuild test -project RMDateSelectionViewController-Demo.xcodeproj -scheme RMDateSelectionViewController-Demo -destination "platform=iOS Simulator,name=$NAME,OS=$OS"

language: objective-c
env:
  matrix:
   - NAME='iPhone 4S' OS=8.0
   - NAME='iPhone 4S' OS=8.1
   - NAME='iPhone 4S' OS=8.2
   - NAME='iPhone 4S' OS=8.3
   - NAME='iPhone 5' OS=8.0
   - NAME='iPhone 5' OS=8.1
   - NAME='iPhone 5' OS=8.2
   - NAME='iPhone 5' OS=8.3
   - NAME='iPhone 6' OS=8.0
   - NAME='iPhone 6' OS=8.1
   - NAME='iPhone 6' OS=8.2
   - NAME='iPhone 6' OS=8.3
   - NAME='iPhone 6 Plus' OS=8.0
   - NAME='iPhone 6 Plus' OS=8.1
   - NAME='iPhone 6 Plus' OS=8.2
   - NAME='iPhone 6 Plus' OS=8.3
   - NAME='iPad 2' OS=8.0
   - NAME='iPad 2' OS=8.1
   - NAME='iPad 2' OS=8.2
   - NAME='iPad 2' OS=8.3
   - NAME='iPad Retina' OS=8.0
   - NAME='iPad Retina' OS=8.1
   - NAME='iPad Retina' OS=8.2
   - NAME='iPad Retina' OS=8.3
   - NAME='iPad Air' OS=8.0
   - NAME='iPad Air' OS=8.1
   - NAME='iPad Air' OS=8.2
   - NAME='iPad Air' OS=8.3
script:
  - xcodebuild -project RMDateSelectionViewController-Demo.xcodeproj -scheme RMDateSelectionViewController-Demo -sdk iphonesimulator8.1 ONLY_ACTIVE_ARCH=NO
  - xcodebuild test -project RMDateSelectionViewController-Demo.xcodeproj -scheme RMDateSelectionViewController-Demo -destination "platform=iOS Simulator,name=$NAME,OS=$OS"

Test with more ios versions
Test with more ios versions
