From f0c1492ef6a6ad17ef62d49cd671980742729783 Mon Sep 17 00:00:00 2001 From: Sergio Campamá Date: Tue, 14 Jun 2016 11:26:01 -0700 Subject: Add the CocoaPods integration tests to Travis. Also hotwires updating ruby as CocoaPods was crashing within a support library. Fixes #1619 --- tests.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index cde108fd..72465a7b 100755 --- a/tests.sh +++ b/tests.sh @@ -223,6 +223,17 @@ build_objectivec_osx() { --core-only --skip-xcode-ios } +build_objectivec_cocoapods_integration() { + # First, load the RVM environment in bash, needed to update ruby. + source ~/.rvm/scripts/rvm + # Update ruby to 2.2.3 as the default one crashes with segmentation faults + # when using pod. + rvm use 2.2.3 --install --binary --fuzzy + # Update pod to the latest version. + gem install cocoapods --no-ri --no-rdoc + objectivec/Tests/CocoaPods/run_tests.sh +} + build_python() { internal_build_cpp internal_install_python_deps @@ -304,6 +315,7 @@ Usage: $0 { cpp | objectivec_ios_debug | objectivec_ios_release | objectivec_osx | + objectivec_cocoapods_integration | python | python_cpp | ruby19 | -- cgit v1.2.3