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

language: objective-c
osx_image: xcode9.3
# cache: cocoapods
# podfile: Example/Podfile
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod repo update
script:
- set -o pipefail
- xcodebuild test -workspace Example/WistiaKit.xcworkspace -scheme WistiaKit-Example -destination 'platform=iOS Simulator,name=iPhone X,OS=11.3' 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: xcode10
language: swift
# cache: cocoapods
# podfile: Example/Podfile
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod repo update
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/WistiaKit.xcworkspace -scheme WistiaKit-Example -sdk iphonesimulator12.0 -destination 'name=iPhone X' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

Update Travis config to Swift 4.2, Xcode 10, iOS 12
Update Travis config to Swift 4.2, Xcode 10, iOS 12
