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

osx_image: xcode8.2
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
    - set -o pipefail && xcodebuild clean build test -workspace Example/SGauge.xcworkspace -scheme SGauge-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
    - pod lib lint

notifications:
    email:
        recipients:
            - lunarseawu+SGauge@gmail.com
        on_success: never # [always|never|change]
        on_failure: change # [always|never|change]

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

osx_image: xcode8.2
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
    - set -o pipefail && xcodebuild clean build test -workspace Example/SGauge.xcworkspace -scheme SGauge-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.2' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
    - pod lib lint

notifications:
    email:
        recipients:
            - lunarseawu+SGauge@gmail.com
        on_success: never # [always|never|change]
        on_failure: change # [always|never|change]

Use iOS 10.2 simulator for testing
Use iOS 10.2 simulator for testing
