# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
podfile: Example/Podfile
osx_image: xcode8
before_install:
 - gem install cocoapods
 - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
 - set -o pipefail && xcodebuild test -workspace Example/GTProgressBar.xcworkspace -scheme GTProgressBar-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone SE'  ONLY_ACTIVE_ARCH=NO | xcpretty -c
after_success:
 - sleep 10

# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
podfile: Example/Podfile
osx_image: xcode8
before_install:
 - gem install cocoapods
 - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
 - set -o pipefail && xcodebuild test -workspace Example/GTProgressBar.xcworkspace -scheme GTProgressBar-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7'  ONLY_ACTIVE_ARCH=NO | xcpretty -c
after_success:
 - sleep 15

Increase sleep time and bump iPhone version
Increase sleep time and bump iPhone version