# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode7.3
language: objective-c
before_install:
  - rvm install ruby-2.2.2 # Required by Cocoapods gem dependencies
  - rvm use ruby-2.2.2 
  - gem install cocoapods --no-document # Since Travis is not always on latest version
  - gem install xcpretty --no-document
script:
  - set -o pipefail && xcodebuild test -project DRObservableArrayExample.xcodeproj -scheme 'Tests iOS' -destination 'platform=iOS Simulator,name=iPhone 5s,OS=latest' ONLY_ACTIVE_ARCH=NO | xcpretty
  - pod lib lint

# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode7.3
language: objective-c
cache: cocoapods
before_install:
  - rvm install ruby-2.2.2 # Required by Cocoapods gem dependencies
  - rvm use ruby-2.2.2 
  - gem install cocoapods --no-document # Since Travis is not always on latest version
  - gem install xcpretty --no-document
script:
  - set -o pipefail && xcodebuild test -project DRObservableArrayExample.xcodeproj -scheme 'Tests iOS' -destination 'platform=iOS Simulator,name=iPhone 5s,OS=latest' ONLY_ACTIVE_ARCH=NO | xcpretty
  - pod lib lint

Enable CocoaPods caching on Travis
Enable CocoaPods caching on Travis
