change CI image to xcode8.2

This commit is contained in:
Alfred Gao 2017-01-03 00:09:23 +08:00
parent b6b2ca6a34
commit 5ba2f001f2
3 changed files with 9 additions and 8 deletions

3
.gitignore vendored
View File

@ -30,4 +30,5 @@ Carthage
# Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml
#
# Pods/
Pods/
Podfile.lock

View File

@ -2,13 +2,13 @@
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode7.3
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
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 test -workspace Example/TextFormater.xcworkspace -scheme TextFormater-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

View File

@ -21,7 +21,7 @@ Convert a short string with formatting commands to attributed string. For used t
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '12.0'
s.osx.deployment_target = '10.12'
s.source_files = 'TextFormater/Classes/**/*'