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.
This commit is contained in:
parent
1e1c060b5b
commit
0bb0c7735e
18
.travis.yml
18
.travis.yml
|
@ -5,6 +5,8 @@ branches:
|
|||
only:
|
||||
- master
|
||||
- /^v?[0-9]+\.[0-9]+\.[0-9]+(-.*)?$/
|
||||
cache:
|
||||
- cocoapods
|
||||
git:
|
||||
submodules: false
|
||||
|
||||
|
@ -22,16 +24,16 @@ jobs:
|
|||
- bundle exec rake package:release
|
||||
deploy:
|
||||
- provider: releases
|
||||
api_key:
|
||||
token:
|
||||
secure: m7YayvmctH5lyHj13EV2j898P5xfEfN/ZvFm2gL/xveTNOGaET1O4ZmGmHApxC2QwIZvtwmO3U9pmB4XVVQ7kIlTsl01h84y8gx1XQqEKoQINcaVaNCsh9EdxAqj08aiwe/1dp8W8rI/ptOrxzWJDWcxKx5tMIbBzctGeL3GDKphVvD44s43oosqQCKzP+qHiI6rRRxu+0QccdbTagwd0X/yaLZ0IbTo35hWFEyJ6NfJnmCW/lNwWj86YksLCZx0eKdxUSQlIhnm0upTyowudt9bv8vSdEYi2AtRKoana/X53593O8RAVEc+S6NgMmeQ1/ZD1eDeyYLzN/z21EHb4yiwTnMUUhDBMTn8KKTiiSVDQOfAyRwtKF+1qN2iDr9Dh3A8+dCxOxJJpIPImZimt8KMCKB9WTtnJhvIoMCDpc8l29XM/oBxjCiBFxPClb9CZ74T5b+xl+yIqy2u8RiaZ1Va5vmWjMSXDsGHoZ0rJTOBkBBhyr+47yIw2VeY2z2q5hiALV3DnE5Esxyddhw7OXNZcvKriujnxcTOJwphm4XBMI/3rSH27uz7AaNdUHfTwaKqimPR06Kdv65hKmFuA5p/GuRdSYfYASvXYYrPjqKkst1FP6sWjJtpXvZIT/06RXDbGXZ6LB3TFHpOahPy8ID746OyBKgWzOB3ZCNmFCk=
|
||||
file_glob: true
|
||||
file: build/release/*
|
||||
skip_cleanup: true
|
||||
cleanup: false
|
||||
on:
|
||||
tags: true
|
||||
all_branches: true
|
||||
- provider: pages
|
||||
skip_cleanup: true
|
||||
cleanup: false
|
||||
token:
|
||||
secure: m7YayvmctH5lyHj13EV2j898P5xfEfN/ZvFm2gL/xveTNOGaET1O4ZmGmHApxC2QwIZvtwmO3U9pmB4XVVQ7kIlTsl01h84y8gx1XQqEKoQINcaVaNCsh9EdxAqj08aiwe/1dp8W8rI/ptOrxzWJDWcxKx5tMIbBzctGeL3GDKphVvD44s43oosqQCKzP+qHiI6rRRxu+0QccdbTagwd0X/yaLZ0IbTo35hWFEyJ6NfJnmCW/lNwWj86YksLCZx0eKdxUSQlIhnm0upTyowudt9bv8vSdEYi2AtRKoana/X53593O8RAVEc+S6NgMmeQ1/ZD1eDeyYLzN/z21EHb4yiwTnMUUhDBMTn8KKTiiSVDQOfAyRwtKF+1qN2iDr9Dh3A8+dCxOxJJpIPImZimt8KMCKB9WTtnJhvIoMCDpc8l29XM/oBxjCiBFxPClb9CZ74T5b+xl+yIqy2u8RiaZ1Va5vmWjMSXDsGHoZ0rJTOBkBBhyr+47yIw2VeY2z2q5hiALV3DnE5Esxyddhw7OXNZcvKriujnxcTOJwphm4XBMI/3rSH27uz7AaNdUHfTwaKqimPR06Kdv65hKmFuA5p/GuRdSYfYASvXYYrPjqKkst1FP6sWjJtpXvZIT/06RXDbGXZ6LB3TFHpOahPy8ID746OyBKgWzOB3ZCNmFCk=
|
||||
local_dir: docs/
|
||||
|
@ -40,12 +42,14 @@ jobs:
|
|||
tags: true
|
||||
- stage: release
|
||||
env: Cocoapods
|
||||
install: bundle install
|
||||
script: skip
|
||||
install:
|
||||
- bundle install
|
||||
- bundle exec pod setup
|
||||
script: travis_wait bundle exec pod lib lint --allow-warnings
|
||||
deploy:
|
||||
provider: script
|
||||
skip_cleanup: true
|
||||
script: ./Scripts/publish.sh
|
||||
cleanup: false
|
||||
script: travis_wait bundle exec pod trunk push Parse.podspec --allow-warnings
|
||||
on:
|
||||
tags: true
|
||||
all_branches: true
|
||||
|
|
4
Gemfile
4
Gemfile
|
@ -1,8 +1,8 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'rake'
|
||||
gem 'plist'
|
||||
gem 'naturally', '~> 1.3.2'
|
||||
gem 'cocoapods', '~> 1.7.5'
|
||||
gem 'jazzy', '~> 0.11.1'
|
||||
gem 'cocoapods', '~> 1.8.4'
|
||||
gem 'xcpretty'
|
||||
gem 'rake'
|
||||
|
|
47
Gemfile.lock
47
Gemfile.lock
|
@ -1,24 +1,27 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
CFPropertyList (3.0.1)
|
||||
CFPropertyList (3.0.2)
|
||||
activesupport (4.2.11.1)
|
||||
i18n (~> 0.7)
|
||||
minitest (~> 5.1)
|
||||
thread_safe (~> 0.3, >= 0.3.4)
|
||||
tzinfo (~> 1.1)
|
||||
algoliasearch (1.27.1)
|
||||
httpclient (~> 2.8, >= 2.8.3)
|
||||
json (>= 1.5.1)
|
||||
atomos (0.1.3)
|
||||
claide (1.0.3)
|
||||
cocoapods (1.7.5)
|
||||
cocoapods (1.8.4)
|
||||
activesupport (>= 4.0.2, < 5)
|
||||
claide (>= 1.0.2, < 2.0)
|
||||
cocoapods-core (= 1.7.5)
|
||||
cocoapods-core (= 1.8.4)
|
||||
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
||||
cocoapods-downloader (>= 1.2.2, < 2.0)
|
||||
cocoapods-plugins (>= 1.0.0, < 2.0)
|
||||
cocoapods-search (>= 1.0.0, < 2.0)
|
||||
cocoapods-stats (>= 1.0.0, < 2.0)
|
||||
cocoapods-trunk (>= 1.3.1, < 2.0)
|
||||
cocoapods-trunk (>= 1.4.0, < 2.0)
|
||||
cocoapods-try (>= 1.1.0, < 2.0)
|
||||
colored2 (~> 3.1)
|
||||
escape (~> 0.0.4)
|
||||
|
@ -27,31 +30,34 @@ GEM
|
|||
molinillo (~> 0.6.6)
|
||||
nap (~> 1.0)
|
||||
ruby-macho (~> 1.4)
|
||||
xcodeproj (>= 1.10.0, < 2.0)
|
||||
cocoapods-core (1.7.5)
|
||||
xcodeproj (>= 1.11.1, < 2.0)
|
||||
cocoapods-core (1.8.4)
|
||||
activesupport (>= 4.0.2, < 6)
|
||||
algoliasearch (~> 1.0)
|
||||
concurrent-ruby (~> 1.1)
|
||||
fuzzy_match (~> 2.0.4)
|
||||
nap (~> 1.0)
|
||||
cocoapods-deintegrate (1.0.4)
|
||||
cocoapods-downloader (1.2.2)
|
||||
cocoapods-downloader (1.3.0)
|
||||
cocoapods-plugins (1.0.0)
|
||||
nap
|
||||
cocoapods-search (1.0.0)
|
||||
cocoapods-stats (1.1.0)
|
||||
cocoapods-trunk (1.4.0)
|
||||
cocoapods-trunk (1.4.1)
|
||||
nap (>= 0.8, < 2.0)
|
||||
netrc (~> 0.11)
|
||||
cocoapods-try (1.1.0)
|
||||
colored2 (3.1.2)
|
||||
concurrent-ruby (1.1.5)
|
||||
concurrent-ruby (1.1.6)
|
||||
escape (0.0.4)
|
||||
ffi (1.11.1)
|
||||
ffi (1.12.2)
|
||||
fourflusher (2.3.1)
|
||||
fuzzy_match (2.0.4)
|
||||
gh_inspector (1.1.3)
|
||||
httpclient (2.8.3)
|
||||
i18n (0.9.5)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jazzy (0.11.1)
|
||||
jazzy (0.11.2)
|
||||
cocoapods (~> 1.5)
|
||||
mustache (~> 1.1)
|
||||
open4
|
||||
|
@ -60,29 +66,30 @@ GEM
|
|||
sassc (~> 2.1)
|
||||
sqlite3 (~> 1.3)
|
||||
xcinvoke (~> 0.3.0)
|
||||
json (2.3.0)
|
||||
liferaft (0.0.6)
|
||||
minitest (5.11.3)
|
||||
minitest (5.14.0)
|
||||
molinillo (0.6.6)
|
||||
mustache (1.1.0)
|
||||
mustache (1.1.1)
|
||||
nanaimo (0.2.6)
|
||||
nap (1.1.0)
|
||||
naturally (1.3.2)
|
||||
netrc (0.11.0)
|
||||
open4 (1.3.4)
|
||||
plist (3.5.0)
|
||||
rake (12.3.3)
|
||||
rake (13.0.1)
|
||||
redcarpet (3.5.0)
|
||||
rouge (2.0.7)
|
||||
ruby-macho (1.4.0)
|
||||
sassc (2.2.0)
|
||||
sassc (2.3.0)
|
||||
ffi (~> 1.9)
|
||||
sqlite3 (1.4.1)
|
||||
sqlite3 (1.4.2)
|
||||
thread_safe (0.3.6)
|
||||
tzinfo (1.2.5)
|
||||
tzinfo (1.2.7)
|
||||
thread_safe (~> 0.1)
|
||||
xcinvoke (0.3.0)
|
||||
liferaft (~> 0.0.6)
|
||||
xcodeproj (1.12.0)
|
||||
xcodeproj (1.16.0)
|
||||
CFPropertyList (>= 2.3.3, < 4.0)
|
||||
atomos (~> 0.1.3)
|
||||
claide (>= 1.0.2, < 2.0)
|
||||
|
@ -95,7 +102,7 @@ PLATFORMS
|
|||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
cocoapods (~> 1.7.5)
|
||||
cocoapods (~> 1.8.4)
|
||||
jazzy (~> 0.11.1)
|
||||
naturally (~> 1.3.2)
|
||||
plist
|
||||
|
@ -103,4 +110,4 @@ DEPENDENCIES
|
|||
xcpretty
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.3
|
||||
2.1.4
|
||||
|
|
|
@ -80,7 +80,7 @@ Pod::Spec.new do |s|
|
|||
|
||||
s.libraries = 'z', 'sqlite3'
|
||||
|
||||
s.dependency 'Bolts/Tasks', '~> 1.9.1'
|
||||
s.dependency 'Bolts/Tasks', '1.9.1'
|
||||
end
|
||||
|
||||
s.subspec 'FacebookUtils' do |s|
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
gem install bundler
|
||||
bundle install
|
||||
bundle exec pod trunk push Parse.podspec --verbose
|
Loading…
Reference in New Issue