From 7639982b8353f9f06a336b52cb9563d6cd211211 Mon Sep 17 00:00:00 2001 From: BB9z Date: Tue, 24 Apr 2018 12:33:48 +0800 Subject: [PATCH 1/2] #pod use develop source on develop. --- RFAPI.podspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RFAPI.podspec b/RFAPI.podspec index f086f67..cb820ca 100644 --- a/RFAPI.podspec +++ b/RFAPI.podspec @@ -6,7 +6,10 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/RFUI/RFAPI' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'BB9z' => 'bb9z@me.com' } - s.source = { :git => 'https://github.com/RFUI/RFAPI.git', :tag => s.version.to_s } + s.source = { + :git => 'https://github.com/RFUI/RFAPI.git', + :branch => 'develop' + } s.requires_arc = true s.osx.deployment_target = '10.8' From d71397cfde78c144e53a06a8a69fc66a91c21dd0 Mon Sep 17 00:00:00 2001 From: BB9z Date: Tue, 24 Apr 2018 12:38:42 +0800 Subject: [PATCH 2/2] #ci always allow warnings as third-party dependencies generate unavoidable warnings. --- .travis.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.sh b/.travis.sh index 2bb31ee..c4dc7ad 100755 --- a/.travis.sh +++ b/.travis.sh @@ -33,11 +33,8 @@ STAGE_MAIN() { else echo "TRAVIS_BRANCH = $TRAVIS_BRANCH" gem install cocoapods --no-rdoc --no-ri --no-document --quiet - if [ "$TRAVIS_BRANCH" = "develop" ]; then - pod lib lint --allow-warnings - else - pod lib lint - fi + # Always allow warnings as third-party dependencies generate unavoidable warnings. + pod lib lint --allow-warnings fi elif [ "$RFCI_TASK" = "Xcode9" ]; then