updating travis to check podspec, bumping version to 3.0.1
This commit is contained in:
parent
f9bd317c34
commit
e1be08bec5
16
.travis.yml
16
.travis.yml
|
|
@ -1,15 +1,9 @@
|
|||
language: objective-c
|
||||
osx_image: xcode7
|
||||
|
||||
xcode_project: Validator.xcodeproj
|
||||
xcode_scheme: Validator
|
||||
xcode_sdk: iphonesimulator9.0
|
||||
before_install:
|
||||
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
|
||||
|
||||
# before_install:
|
||||
# - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
|
||||
|
||||
# script:
|
||||
# - set -o pipefail
|
||||
# - xcodebuild -version
|
||||
# - xcodebuild -project Validator.xcodeproj -scheme Validator -sdk iphonesiumlator -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.0'
|
||||
# -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
||||
script:
|
||||
- xctool -project Validator.xcodeproj -scheme Validator -sdk iphonesimulator9.0 build test
|
||||
- pod lib lint
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "SwiftValidator"
|
||||
s.version = "3.0.0"
|
||||
s.version = "3.0.1"
|
||||
s.summary = "A UITextField Validation library for Swift"
|
||||
s.homepage = "https://github.com/jpotts18/SwiftValidator"
|
||||
s.screenshots = "https://raw.githubusercontent.com/jpotts18/SwiftValidator/master/swift-validator-v2.gif"
|
||||
|
|
@ -9,8 +9,8 @@ Pod::Spec.new do |s|
|
|||
s.social_media_url = "http://twitter.com/jpotts18"
|
||||
s.platform = :ios
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.source = { :git => "https://github.com/jpotts18/SwiftValidator.git", :tag => "3.0.0" }
|
||||
s.source_files = "Validator/*.swift"
|
||||
s.source = { :git => "https://github.com/jpotts18/SwiftValidator.git", :tag => "3.0.1" }
|
||||
s.source_files = "SwiftValidator/**/*.swift"
|
||||
s.exclude_files = "Validator/AppDelegate.swift"
|
||||
s.frameworks = ['Foundation', 'UIKit']
|
||||
s.requires_arc = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue