Skip to content

Commit 1d50c7b

Browse files
authored
add travis cd (#222)
1 parent f5f49d7 commit 1d50c7b

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ before_install:
1414
branches:
1515
only:
1616
- master
17+
18+
deploy:
19+
provider: script
20+
script: ./Tools/push.sh
21+
on:
22+
tags: true

Example/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if ! ENV['LP_STATIC']
33
end
44

55
target 'Leanplum-SDK_Example' do
6-
platform :ios, '7.0'
6+
platform :ios, '8.0'
77

88
pod 'Leanplum-iOS-SDK-source', :path => '../'
99

Leanplum-iOS-SDK-source.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'Leanplum-iOS-SDK-source'
11-
s.version = '2.0.6'
11+
s.version = '2.2-beta-1'
1212
s.summary = 'Mobile Marketing Platform. Integrated. ROI Engine.'
1313
s.description = <<-DESC
1414
Leanplum’s integrated solution delivers meaningful engagement across messaging and the in-app
@@ -21,8 +21,8 @@ Analytics.
2121
s.social_media_url = 'https://twitter.com/leanplum'
2222
s.requires_arc = true
2323
s.source = { :git => 'https://github.com/Leanplum/Leanplum-SDK-Internal.git', :tag => s.version.to_s }
24-
s.ios.deployment_target = '7.0'
25-
s.tvos.deployment_target = '7.0'
24+
s.ios.deployment_target = '8.0'
25+
s.tvos.deployment_target = '8.0'
2626
s.frameworks = 'CFNetwork', 'Foundation', 'Security', 'SystemConfiguration', 'UIKit'
2727
s.weak_frameworks = 'AdSupport', 'StoreKit'
2828
s.library = 'sqlite3'

Tools/push.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
source ~/.rvm/scripts/rvm
4+
rvm use default
5+
pod trunk push

0 commit comments

Comments
 (0)