mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
031cb2045d
Summary: Fixes #11272 Fixes #11572 Fixes #11781 The main changes here are: * This depends on the latest CocoaPods (1.2.0). It’s currently in RC, but if I’m not mistaken a proper release is expected soon. /cc dantoml * Adds required header search paths for the jschelpers and cxxreact subspecs. * Makes the jschelpers and cxxreact headers private to building React Native, not visible to the user’s project. * It uses the canonical upstream Yoga v1.0.0 podspec: https://github.com/facebook/yoga/blob/master/Yoga.podspec * Consistent styling. I have been able to get our app to build again using this https://github.com/artsy/emission/pull/437. The spec has some warnings, but otherwise fully passes lint. rh389 sjmueller Could you please test with your projects? Closes https://github.com/facebook/react-native/pull/12089 Differential Revision: D4518605 fbshipit-source-id: ecf86232d8b1af52d139eadd1acc10f5c1d42c29
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
language: objective-c
|
|
|
|
osx_image: xcode8
|
|
|
|
install:
|
|
- mkdir -p /Users/travis/build/facebook/.nvm
|
|
- export NVM_DIR="/Users/travis/build/facebook/.nvm"
|
|
- brew install nvm
|
|
- source $(brew --prefix nvm)/nvm.sh
|
|
# TODO npm 2 started stalling on Travis, t11852928
|
|
- nvm install 5
|
|
- rm -Rf "${TMPDIR}/jest_preprocess_cache"
|
|
- wget https://github.com/yarnpkg/yarn/releases/download/v0.16.0/yarn-0.16.0.js
|
|
- export yarn="node $(pwd)/yarn-0.16.0.js"
|
|
- $yarn install
|
|
|
|
script:
|
|
- if [[ "$TEST_TYPE" = objc-ios ]]; then travis_retry travis_wait ./scripts/objc-test-ios.sh; fi
|
|
- if [[ "$TEST_TYPE" = objc-tvos ]]; then travis_retry travis_wait ./scripts/objc-test-tvos.sh; fi
|
|
- if [[ "$TEST_TYPE" = e2e-objc ]]; then node ./scripts/run-ci-e2e-tests.js --ios --js --retries 3; fi
|
|
- if [[ "$TEST_TYPE" = e2e-objc-tvos ]]; then node ./scripts/run-ci-e2e-tests.js --tvos --retries 3; fi
|
|
- if [[ "$TEST_TYPE" = js ]]; then npm run flow check; fi
|
|
- if [[ "$TEST_TYPE" = js ]]; then npm test -- --maxWorkers=1; fi
|
|
- if [[ ( "$TEST_TYPE" = podspecs ) && ( "$TRAVIS_PULL_REQUEST" = "false" ) ]]; then gem install cocoapods && ./scripts/process-podspecs.sh; fi
|
|
|
|
env:
|
|
matrix:
|
|
- TEST_TYPE=e2e-objc-tvos
|
|
- TEST_TYPE=e2e-objc
|
|
- TEST_TYPE=objc-ios
|
|
- TEST_TYPE=objc-tvos
|
|
- TEST_TYPE=js
|
|
- TEST_TYPE=podspecs
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^.*-stable$/
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- mkonicek@fb.com
|
|
on_failure: change
|
|
on_success: change
|