mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-04-29 20:55:23 +08:00
22 lines
650 B
YAML
22 lines
650 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='latest' name='iPhone 6'
|
|
|
|
before_install:
|
|
- gem uninstall cocoapods --version '>0.39.0'
|
|
- gem install cocoapods -v '0.39.0'
|
|
- gem install xcpretty
|
|
before_script:
|
|
- pod --version
|
|
- 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
|