From 4946d9c80d34bee65d039f681c623503b8cb6a27 Mon Sep 17 00:00:00 2001 From: Robert Eldredge Date: Tue, 11 Jun 2019 15:45:04 -0400 Subject: [PATCH 1/2] install yarn for Android --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 34e6b569c6..b44ecd3b42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,7 +96,8 @@ matrix: - echo yes | sdkmanager "build-tools;23.0.1" # Android platform required by some dependency install: - - yarn install + - brew install yarn + - yarn install --network-concurrency 1 - (cd android && bundler install) before_script: - echo "TRAVIS_COMMIT=$TRAVIS_COMMIT" >> ./.env.production From 2bd82b506851fc307345e25a93fdd70a9402db04 Mon Sep 17 00:00:00 2001 From: Robert Eldredge Date: Wed, 12 Jun 2019 11:19:17 -0400 Subject: [PATCH 2/2] ignore React and yoga in podfile --- ios/Podfile | 4 +++- ios/Podfile.lock | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 4af75394ec..37041eee4e 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -37,7 +37,9 @@ target 'MissionHub' do post_install do |installer| installer.pods_project.targets.each do |target| - if target.name == "React" + targets_to_ignore = %w(React yoga) + + if targets_to_ignore.include? target.name target.remove_from_project end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 88e5152ba5..1207627e8e 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -170,6 +170,6 @@ SPEC CHECKSUMS: RSKImageCropper: 98296ad26b41753f796b6898d015509598f13d97 yoga: 92b2102c3d373d1a790db4ab761d2b0ffc634f64 -PODFILE CHECKSUM: dab9a512e8bc3b3a4f9291d65ceb5c1708487580 +PODFILE CHECKSUM: 642458d8a4d1297cf7f682cb37d3938ceb88f73f COCOAPODS: 1.7.1