Files
PINRemoteImage/.travis.yml
2016-03-09 20:10:52 -08:00

20 lines
605 B
YAML

# reference: http://www.objc.io/issue-6/travis-ci.html
# whitelist
branches:
only:
- master
language: objective-c
osx_image: xcode7.2
env:
matrix:
- OS='8.4' name='iPhone 6'
- OS='latest' name='iPhone 6'
before_install:
- gem install cocoapods -v '0.39.0'
- gem install xcpretty
before_script: pod lib lint --allow-warnings
script:
- xcodebuild clean test -destination "platform=iOS Simulator,OS=$OS,name=$name" -workspace Example/PINRemoteImage.xcworkspace -scheme PINRemoteImage ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -t; test ${PIPESTATUS[0]} -eq 0