Skip to content

Commit

Permalink
travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauddorgans committed Feb 17, 2019
1 parent 235d263 commit 46d2084
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 27 deletions.
31 changes: 19 additions & 12 deletions .scripts/pod_lib.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
#!/bin/bash
for pod in $(find . -name "*.podspec" -type f -exec basename {} ';' );do
push=0
if [[ $1 == 'push' ]]; then
push=1

function pod_lint {
pod=$1
command="$pod --allow-warnings"
if [[ $2 == 0 ]]; then
command="pod lib lint $command"
else
command="pod trunk push $command"
fi
echo $command
$command ; result=$?
}

push=0
if [[ $1 == 'push' ]]; then
push=1
fi
for pod in $(find . -name "*.podspec" -type f -exec basename {} ';' );do
if [[ $pod == 'RxFirebase.podspec' ]]; then
continue
fi
command="$pod --allow-warnings"
if [[ $push == 0 ]]; then
command="pod lib lint $command"
else
command="pod trunk push $command"
fi
echo $command
$command ; result=$?
pod_lint $pod $push
if [[ $result != 0 ]]; then
exit $result
fi
done
pod_lint 'RxFirebase.podspec' $push
9 changes: 8 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
use_frameworks!

target 'RxFirebase_Example' do
platform :ios, '8.0'
pod 'RxFirebase/Storage', :path => './'
pod 'RxFirebase/Firestore', :path => './'
pod 'RxFirebase/RemoteConfig', :path => './'
pod 'RxFirebase/Database', :path => './'
pod 'RxFirebase/Functions', :path => './'
pod 'RxFirebase/Auth', :path => './'

# Force local pods
pod 'RxFirebaseStorage', :path => './'
pod 'RxFirebaseFirestore', :path => './'
pod 'RxFirebaseRemoteConfig', :path => './'
Expand Down
47 changes: 34 additions & 13 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -115,35 +115,53 @@ PODS:
- RxAtomic (4.4.0)
- RxCocoa (4.4.0):
- RxSwift (~> 4.0)
- RxFirebaseAuthentication (0.3.1):
- RxFirebase/Auth (0.3.2):
- RxFirebaseAuthentication (~> 0.3)
- RxFirebase/Database (0.3.2):
- RxFirebaseDatabase (~> 0.3)
- RxFirebase/Firestore (0.3.2):
- RxFirebaseFirestore (~> 0.3)
- RxFirebase/Functions (0.3.2):
- RxFirebaseFunctions (~> 0.3)
- RxFirebase/RemoteConfig (0.3.2):
- RxFirebaseRemoteConfig (~> 0.3)
- RxFirebase/Storage (0.3.2):
- RxFirebaseStorage (~> 0.3)
- RxFirebaseAuthentication (0.3.2):
- FirebaseAuth (~> 5)
- FirebaseCore (~> 5)
- RxCocoa (~> 4)
- RxSwift (~> 4)
- RxFirebaseDatabase (0.3.1):
- RxFirebaseDatabase (0.3.2):
- FirebaseDatabase (~> 5)
- RxCocoa (~> 4)
- RxSwift (~> 4)
- RxFirebaseFirestore (0.3.1):
- RxFirebaseFirestore (0.3.2):
- FirebaseFirestore (~> 1)
- RxCocoa (~> 4)
- RxSwift (~> 4)
- RxFirebaseFunctions (0.3.1):
- RxFirebaseFunctions (0.3.2):
- FirebaseFunctions (~> 2)
- RxCocoa (~> 4)
- RxSwift (~> 4)
- RxFirebaseRemoteConfig (0.3.1):
- RxFirebaseRemoteConfig (0.3.2):
- FirebaseRemoteConfig (~> 3)
- RxCocoa (~> 4)
- RxSwift (~> 4)
- RxFirebaseStorage (0.3.1):
- RxFirebaseStorage (0.3.2):
- FirebaseStorage (~> 3)
- RxCocoa (~> 4)
- RxSwift (~> 4)
- RxSwift (4.4.0):
- RxAtomic (~> 4.4)

DEPENDENCIES:
- RxFirebase/Auth (from `./`)
- RxFirebase/Database (from `./`)
- RxFirebase/Firestore (from `./`)
- RxFirebase/Functions (from `./`)
- RxFirebase/RemoteConfig (from `./`)
- RxFirebase/Storage (from `./`)
- RxFirebaseAuthentication (from `./`)
- RxFirebaseDatabase (from `./`)
- RxFirebaseFirestore (from `./`)
Expand Down Expand Up @@ -178,6 +196,8 @@ SPEC REPOS:
- RxSwift

EXTERNAL SOURCES:
RxFirebase:
:path: "./"
RxFirebaseAuthentication:
:path: "./"
RxFirebaseDatabase:
Expand Down Expand Up @@ -214,14 +234,15 @@ SPEC CHECKSUMS:
Protobuf: 1eb9700044745f00181c136ef21b8ff3ad5a0fd5
RxAtomic: eacf60db868c96bfd63320e28619fe29c179656f
RxCocoa: df63ebf7b9a70d6b4eeea407ed5dd4efc8979749
RxFirebaseAuthentication: ad450b7a43150c90468f2241bd148361ed65bd40
RxFirebaseDatabase: 6cf592cc2ac705e6e9f51c81f78c8658cd2f5cff
RxFirebaseFirestore: cedbab269fb62d157ecadebbaa84c11fd6123200
RxFirebaseFunctions: 566243d404ee059da9045a1d14821ba339ab78a7
RxFirebaseRemoteConfig: 68c0636879cfd45ebf39be588a8d6c215b099a96
RxFirebaseStorage: a6612ade3e2d81491a8e804121cfe5e94c0c2469
RxFirebase: f9add91011e2de3e25edfc207a434b93e36c978e
RxFirebaseAuthentication: ade217a1f0bf2120c01e7da8db5b39f927835584
RxFirebaseDatabase: 311d91c639501dfcb6bafa5e495fb9d50f0670fc
RxFirebaseFirestore: b812e6be5fa479036eb5e267f02898852e1156ea
RxFirebaseFunctions: 23574f3e5d2d0c1e12680b1dd563e78446008736
RxFirebaseRemoteConfig: 7dd8ada29976a3eb176018cefc682db0a8864d0c
RxFirebaseStorage: f3ae2068740c694040fe627f9e79de50ea59cbf8
RxSwift: 5976ecd04fc2fefd648827c23de5e11157faa973

PODFILE CHECKSUM: cb6cd0cb602df0faa608611790523795175feaeb
PODFILE CHECKSUM: deb88e7b9181b8ddf82c433edf75dac155d19342

COCOAPODS: 1.6.0
2 changes: 1 addition & 1 deletion RxFirebase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' }
s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

s.ios.deployment_target = '8.0'
s.subspec 'Firestore' do |firestore|
firestore.dependency 'RxFirebaseFirestore', '~> 0.3'
end
Expand Down

0 comments on commit 46d2084

Please sign in to comment.