aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-07-13 13:21:03 -0700
committerGravatar GitHub <noreply@github.com>2018-07-13 13:21:03 -0700
commit81ec26d4ff2f9cc295bf057167a649a34a7a11aa (patch)
tree5dfecedc113b1f003bdf165db9f91220ae8dab8d
parent730780faf41fc828fca711267a6de785184ffe3f (diff)
Travis build test for GoogleUtilities on iOS 6 and iOS 7 (#1529)
-rw-r--r--.travis.yml3
-rw-r--r--GoogleUtilities.podspec2
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9924b9c..2690eb0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -89,6 +89,9 @@ jobs:
before_install:
- ./scripts/if_cron.sh ./scripts/install_prereqs.sh
script:
+ # For GoogleUtilities, allow warnings for iOS 6 but not iOS 7.
+ - ./scripts/if_cron.sh bundle exec pod lib lint GoogleUtilities.podspec --use-libraries --allow-warnings
+ - ./scripts/if_cron.sh sed -i -e "s/s.ios.deployment_target = '6.0'/s.ios.deployment_target = '7.0'/" GoogleUtilities.podspec
- ./scripts/if_cron.sh bundle exec pod lib lint GoogleUtilities.podspec --use-libraries
- ./scripts/if_cron.sh bundle exec pod lib lint FirebaseCore.podspec --use-libraries $ALT_SOURCES
- ./scripts/if_cron.sh bundle exec pod lib lint FirebaseAuth.podspec --use-libraries $ALT_SOURCES
diff --git a/GoogleUtilities.podspec b/GoogleUtilities.podspec
index 957591c..43833f2 100644
--- a/GoogleUtilities.podspec
+++ b/GoogleUtilities.podspec
@@ -19,7 +19,7 @@ other Google CocoaPods. They're not intended for direct public usage.
# :tag => 'Utilities-' + s.version.to_s
:tag => 'pre-5.3-' + s.version.to_s
}
- s.ios.deployment_target = '7.0'
+ s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '10.0'