osx_image: xcode8.2
language: objective-c

env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
  matrix:
    - DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=9.3"
    - DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.1"

script:
- set -o pipefail 
- xcodebuild build -workspace ContainerController.xcworkspace -scheme Example -destination "$DESTINATION"
- pod lib lint --allow-warnings

osx_image: xcode9
language: objective-c

env:
  matrix:
    - DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=9.3"
    - DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.1"
    - DESTINATION="platform=iOS Simulator,name=iPhone X,OS=11.0"

podfile: Example/Podfile
before_install:
  - gem install cocoapods
  - pod repo update
  - pod install --project-directory=Example


script:
- set -o pipefail 
- xcodebuild build -workspace Example/Example.xcworkspace -scheme Example -destination "$DESTINATION"
- pod lib lint --allow-warnings

Update Travis CI with Xcode 9 and CocoaPods config
Update Travis CI with Xcode 9 and CocoaPods config
