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

osx_image: xcode7.2
language: objective-c
podfile: Example/Podfile

#before_install:
#- gem install cocoapods # Since Travis is not always on latest version
#- pod install --project-directory=Example
#install:
#- gem install xcpretty --no-rdoc --no-ri --no-document --quiet

script:
- set -o pipefail && xcodebuild test -workspace Example/AmazonS3RequestManager.xcworkspace -scheme iOS -sdk iphonesimulator9.2 ONLY_ACTIVE_ARCH=NO | xcpretty -c
- set -o pipefail && xcodebuild test -workspace Example/AmazonS3RequestManager.xcworkspace -scheme OSX -sdk macosx10.11 ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint

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

osx_image: xcode7.2
language: objective-c
podfile: Example/Podfile

#before_install:
#- gem install cocoapods # Since Travis is not always on latest version
#- pod install --project-directory=Example
#install:
#- gem install xcpretty --no-rdoc --no-ri --no-document --quiet

script:
- set -o pipefail && xcodebuild test -workspace Example/AmazonS3RequestManager.xcworkspace -scheme iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
- set -o pipefail && xcodebuild test -workspace Example/AmazonS3RequestManager.xcworkspace -scheme OSX -sdk macosx ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint --quick --allow-warnings

Allow warnings on lint for Travis CT
Allow warnings on lint for Travis CT
