From e1be08bec54ee7e9ad21630b5075995f36c72f5b Mon Sep 17 00:00:00 2001 From: Jeff Potter Date: Thu, 15 Oct 2015 14:43:00 -0600 Subject: [PATCH] updating travis to check podspec, bumping version to 3.0.1 --- .travis.yml | 16 +++++----------- SwiftValidator.podspec | 6 +++--- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3181690..610f284 100644 --- a/.travis.yml +++ b/.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 \ No newline at end of file +script: + - xctool -project Validator.xcodeproj -scheme Validator -sdk iphonesimulator9.0 build test + - pod lib lint \ No newline at end of file diff --git a/SwiftValidator.podspec b/SwiftValidator.podspec index 4a1f491..4e31e32 100644 --- a/SwiftValidator.podspec +++ b/SwiftValidator.podspec @@ -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