Skip to content

Commit 0bb0c77

Browse files
authored
Fixing Travis Build and Cococapod Release. (#1498)
- Added lint process to build on every PR - Updated cocoapods version to 1.8.4 since previous version had source repo cache issues. - Removed unnecessary bundler installation now that bundler is included by default - Removed unnecessary ```bundle install``` now that its called by default during environment spin up. - Deleted publish.sh since the script is now down to 1 single line - Updated gem versions in gemfile as well as lock file. - Added travis_wait command to keep travis from timing out during long trunk pushes and lint commands.
1 parent 1e1c060 commit 0bb0c77

File tree

5 files changed

+41
-34
lines changed

5 files changed

+41
-34
lines changed

.travis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ branches:
55
only:
66
- master
77
- /^v?[0-9]+\.[0-9]+\.[0-9]+(-.*)?$/
8+
cache:
9+
- cocoapods
810
git:
911
submodules: false
1012

@@ -22,16 +24,16 @@ jobs:
2224
- bundle exec rake package:release
2325
deploy:
2426
- provider: releases
25-
api_key:
27+
token:
2628
secure: m7YayvmctH5lyHj13EV2j898P5xfEfN/ZvFm2gL/xveTNOGaET1O4ZmGmHApxC2QwIZvtwmO3U9pmB4XVVQ7kIlTsl01h84y8gx1XQqEKoQINcaVaNCsh9EdxAqj08aiwe/1dp8W8rI/ptOrxzWJDWcxKx5tMIbBzctGeL3GDKphVvD44s43oosqQCKzP+qHiI6rRRxu+0QccdbTagwd0X/yaLZ0IbTo35hWFEyJ6NfJnmCW/lNwWj86YksLCZx0eKdxUSQlIhnm0upTyowudt9bv8vSdEYi2AtRKoana/X53593O8RAVEc+S6NgMmeQ1/ZD1eDeyYLzN/z21EHb4yiwTnMUUhDBMTn8KKTiiSVDQOfAyRwtKF+1qN2iDr9Dh3A8+dCxOxJJpIPImZimt8KMCKB9WTtnJhvIoMCDpc8l29XM/oBxjCiBFxPClb9CZ74T5b+xl+yIqy2u8RiaZ1Va5vmWjMSXDsGHoZ0rJTOBkBBhyr+47yIw2VeY2z2q5hiALV3DnE5Esxyddhw7OXNZcvKriujnxcTOJwphm4XBMI/3rSH27uz7AaNdUHfTwaKqimPR06Kdv65hKmFuA5p/GuRdSYfYASvXYYrPjqKkst1FP6sWjJtpXvZIT/06RXDbGXZ6LB3TFHpOahPy8ID746OyBKgWzOB3ZCNmFCk=
2729
file_glob: true
2830
file: build/release/*
29-
skip_cleanup: true
31+
cleanup: false
3032
on:
3133
tags: true
3234
all_branches: true
3335
- provider: pages
34-
skip_cleanup: true
36+
cleanup: false
3537
token:
3638
secure: m7YayvmctH5lyHj13EV2j898P5xfEfN/ZvFm2gL/xveTNOGaET1O4ZmGmHApxC2QwIZvtwmO3U9pmB4XVVQ7kIlTsl01h84y8gx1XQqEKoQINcaVaNCsh9EdxAqj08aiwe/1dp8W8rI/ptOrxzWJDWcxKx5tMIbBzctGeL3GDKphVvD44s43oosqQCKzP+qHiI6rRRxu+0QccdbTagwd0X/yaLZ0IbTo35hWFEyJ6NfJnmCW/lNwWj86YksLCZx0eKdxUSQlIhnm0upTyowudt9bv8vSdEYi2AtRKoana/X53593O8RAVEc+S6NgMmeQ1/ZD1eDeyYLzN/z21EHb4yiwTnMUUhDBMTn8KKTiiSVDQOfAyRwtKF+1qN2iDr9Dh3A8+dCxOxJJpIPImZimt8KMCKB9WTtnJhvIoMCDpc8l29XM/oBxjCiBFxPClb9CZ74T5b+xl+yIqy2u8RiaZ1Va5vmWjMSXDsGHoZ0rJTOBkBBhyr+47yIw2VeY2z2q5hiALV3DnE5Esxyddhw7OXNZcvKriujnxcTOJwphm4XBMI/3rSH27uz7AaNdUHfTwaKqimPR06Kdv65hKmFuA5p/GuRdSYfYASvXYYrPjqKkst1FP6sWjJtpXvZIT/06RXDbGXZ6LB3TFHpOahPy8ID746OyBKgWzOB3ZCNmFCk=
3739
local_dir: docs/
@@ -40,12 +42,14 @@ jobs:
4042
tags: true
4143
- stage: release
4244
env: Cocoapods
43-
install: bundle install
44-
script: skip
45+
install:
46+
- bundle install
47+
- bundle exec pod setup
48+
script: travis_wait bundle exec pod lib lint --allow-warnings
4549
deploy:
4650
provider: script
47-
skip_cleanup: true
48-
script: ./Scripts/publish.sh
51+
cleanup: false
52+
script: travis_wait bundle exec pod trunk push Parse.podspec --allow-warnings
4953
on:
5054
tags: true
5155
all_branches: true

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
source 'https://rubygems.org'
22

3-
gem 'rake'
43
gem 'plist'
54
gem 'naturally', '~> 1.3.2'
6-
gem 'cocoapods', '~> 1.7.5'
75
gem 'jazzy', '~> 0.11.1'
6+
gem 'cocoapods', '~> 1.8.4'
87
gem 'xcpretty'
8+
gem 'rake'

Gemfile.lock

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.1)
4+
CFPropertyList (3.0.2)
55
activesupport (4.2.11.1)
66
i18n (~> 0.7)
77
minitest (~> 5.1)
88
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
10+
algoliasearch (1.27.1)
11+
httpclient (~> 2.8, >= 2.8.3)
12+
json (>= 1.5.1)
1013
atomos (0.1.3)
1114
claide (1.0.3)
12-
cocoapods (1.7.5)
15+
cocoapods (1.8.4)
1316
activesupport (>= 4.0.2, < 5)
1417
claide (>= 1.0.2, < 2.0)
15-
cocoapods-core (= 1.7.5)
18+
cocoapods-core (= 1.8.4)
1619
cocoapods-deintegrate (>= 1.0.3, < 2.0)
1720
cocoapods-downloader (>= 1.2.2, < 2.0)
1821
cocoapods-plugins (>= 1.0.0, < 2.0)
1922
cocoapods-search (>= 1.0.0, < 2.0)
2023
cocoapods-stats (>= 1.0.0, < 2.0)
21-
cocoapods-trunk (>= 1.3.1, < 2.0)
24+
cocoapods-trunk (>= 1.4.0, < 2.0)
2225
cocoapods-try (>= 1.1.0, < 2.0)
2326
colored2 (~> 3.1)
2427
escape (~> 0.0.4)
@@ -27,31 +30,34 @@ GEM
2730
molinillo (~> 0.6.6)
2831
nap (~> 1.0)
2932
ruby-macho (~> 1.4)
30-
xcodeproj (>= 1.10.0, < 2.0)
31-
cocoapods-core (1.7.5)
33+
xcodeproj (>= 1.11.1, < 2.0)
34+
cocoapods-core (1.8.4)
3235
activesupport (>= 4.0.2, < 6)
36+
algoliasearch (~> 1.0)
37+
concurrent-ruby (~> 1.1)
3338
fuzzy_match (~> 2.0.4)
3439
nap (~> 1.0)
3540
cocoapods-deintegrate (1.0.4)
36-
cocoapods-downloader (1.2.2)
41+
cocoapods-downloader (1.3.0)
3742
cocoapods-plugins (1.0.0)
3843
nap
3944
cocoapods-search (1.0.0)
4045
cocoapods-stats (1.1.0)
41-
cocoapods-trunk (1.4.0)
46+
cocoapods-trunk (1.4.1)
4247
nap (>= 0.8, < 2.0)
4348
netrc (~> 0.11)
4449
cocoapods-try (1.1.0)
4550
colored2 (3.1.2)
46-
concurrent-ruby (1.1.5)
51+
concurrent-ruby (1.1.6)
4752
escape (0.0.4)
48-
ffi (1.11.1)
53+
ffi (1.12.2)
4954
fourflusher (2.3.1)
5055
fuzzy_match (2.0.4)
5156
gh_inspector (1.1.3)
57+
httpclient (2.8.3)
5258
i18n (0.9.5)
5359
concurrent-ruby (~> 1.0)
54-
jazzy (0.11.1)
60+
jazzy (0.11.2)
5561
cocoapods (~> 1.5)
5662
mustache (~> 1.1)
5763
open4
@@ -60,29 +66,30 @@ GEM
6066
sassc (~> 2.1)
6167
sqlite3 (~> 1.3)
6268
xcinvoke (~> 0.3.0)
69+
json (2.3.0)
6370
liferaft (0.0.6)
64-
minitest (5.11.3)
71+
minitest (5.14.0)
6572
molinillo (0.6.6)
66-
mustache (1.1.0)
73+
mustache (1.1.1)
6774
nanaimo (0.2.6)
6875
nap (1.1.0)
6976
naturally (1.3.2)
7077
netrc (0.11.0)
7178
open4 (1.3.4)
7279
plist (3.5.0)
73-
rake (12.3.3)
80+
rake (13.0.1)
7481
redcarpet (3.5.0)
7582
rouge (2.0.7)
7683
ruby-macho (1.4.0)
77-
sassc (2.2.0)
84+
sassc (2.3.0)
7885
ffi (~> 1.9)
79-
sqlite3 (1.4.1)
86+
sqlite3 (1.4.2)
8087
thread_safe (0.3.6)
81-
tzinfo (1.2.5)
88+
tzinfo (1.2.7)
8289
thread_safe (~> 0.1)
8390
xcinvoke (0.3.0)
8491
liferaft (~> 0.0.6)
85-
xcodeproj (1.12.0)
92+
xcodeproj (1.16.0)
8693
CFPropertyList (>= 2.3.3, < 4.0)
8794
atomos (~> 0.1.3)
8895
claide (>= 1.0.2, < 2.0)
@@ -95,12 +102,12 @@ PLATFORMS
95102
ruby
96103

97104
DEPENDENCIES
98-
cocoapods (~> 1.7.5)
105+
cocoapods (~> 1.8.4)
99106
jazzy (~> 0.11.1)
100107
naturally (~> 1.3.2)
101108
plist
102109
rake
103110
xcpretty
104111

105112
BUNDLED WITH
106-
1.17.3
113+
2.1.4

Parse.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Pod::Spec.new do |s|
8080

8181
s.libraries = 'z', 'sqlite3'
8282

83-
s.dependency 'Bolts/Tasks', '~> 1.9.1'
83+
s.dependency 'Bolts/Tasks', '1.9.1'
8484
end
8585

8686
s.subspec 'FacebookUtils' do |s|

Scripts/publish.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)