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

osx_image: xcode8
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod update # Remove this when the pods already updated, to reduce build time
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild
  -workspace Example/CascadingTableDelegate.xcworkspace
  -scheme CascadingTableDelegate-Example
  -destination 'platform=iOS Simulator,name=iPhone 5s'
  clean test | xcpretty
- pod lib lint

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

osx_image: xcode8
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod repo update # Remove this when the pods already updated, to reduce build time
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild
  -workspace Example/CascadingTableDelegate.xcworkspace
  -scheme CascadingTableDelegate-Example
  -destination 'platform=iOS Simulator,name=iPhone 5s'
  clean test | xcpretty
- pod lib lint

Fix wrong pod repo update command
Fix wrong pod repo update command
