Fixed travis stalls by updating to latest node
Summary: Travis got slower recently and 10 minutes may be not enough Closes https://github.com/facebook/react-native/pull/8278 Differential Revision: D3463714 fbshipit-source-id: b521687265d9efdf3d750611e59e36fc270e1fe9
This commit is contained in:
parent
f58c53e3ee
commit
0cdad4f52f
|
@ -7,15 +7,15 @@ install:
|
||||||
- export NVM_DIR="/Users/travis/build/facebook/.nvm"
|
- export NVM_DIR="/Users/travis/build/facebook/.nvm"
|
||||||
- brew install nvm
|
- brew install nvm
|
||||||
- source $(brew --prefix nvm)/nvm.sh
|
- source $(brew --prefix nvm)/nvm.sh
|
||||||
# testing with npm@2 for diversity, Circle tests with npm@3
|
# TODO npm 2 started stalling on Travis, t11852928
|
||||||
- nvm install 4.4.3
|
- nvm install 5
|
||||||
- rm -Rf "${TMPDIR}/jest_preprocess_cache"
|
- rm -Rf "${TMPDIR}/jest_preprocess_cache"
|
||||||
- npm config set spin=false
|
- npm config set spin=false
|
||||||
- npm config set progress=false
|
- npm config set progress=false
|
||||||
- npm install
|
- travis_wait npm install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ "$TEST_TYPE" = objc ]]; then travis_retry ./scripts/objc-test.sh; fi
|
- if [[ "$TEST_TYPE" = objc ]]; then travis_retry travis_wait ./scripts/objc-test.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 ]]; then node ./scripts/run-ci-e2e-tests.js --ios --js --retries 3; fi
|
||||||
- if [[ "$TEST_TYPE" = js ]]; then npm run flow check; fi
|
- if [[ "$TEST_TYPE" = js ]]; then npm run flow check; fi
|
||||||
- if [[ "$TEST_TYPE" = js ]]; then npm test -- --maxWorkers=1; fi
|
- if [[ "$TEST_TYPE" = js ]]; then npm test -- --maxWorkers=1; fi
|
||||||
|
|
Loading…
Reference in New Issue