2015-03-24 06:41:51 +08:00
|
|
|
language: objective-c
|
2016-03-22 17:05:33 +08:00
|
|
|
osx_image: xcode7.3
|
2015-03-24 06:41:51 +08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-07-30 15:11:18 +08:00
|
|
|
- develop
|
2015-03-24 06:41:51 +08:00
|
|
|
env:
|
2015-05-27 07:10:02 +08:00
|
|
|
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
|
2015-03-24 06:41:51 +08:00
|
|
|
before_install:
|
2015-05-27 07:10:02 +08:00
|
|
|
- gem install xcpretty -N
|
2015-03-24 06:41:51 +08:00
|
|
|
script:
|
2015-05-27 07:10:02 +08:00
|
|
|
- set -o pipefail
|
|
|
|
- xcodebuild -project SnapKit.xcodeproj -scheme "SnapKit iOS" -sdk iphonesimulator
|
|
|
|
-destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
|
|
|
- pod lib lint --quick
|