Tweak e2e test script
Reviewed By: mkonicek Differential Revision:D3058646 Ninja: oss only fb-gh-sync-id: a307428b403c27bee492c04f28d27f1574dbc6d8 shipit-source-id: a307428b403c27bee492c04f28d27f1574dbc6d8
This commit is contained in:
parent
ded362af81
commit
40732f7224
|
@ -0,0 +1,23 @@
|
|||
storage: /tmp/sinopia-package-cache
|
||||
|
||||
uplinks:
|
||||
npmjs:
|
||||
url: http://registry.npmjs.org/
|
||||
|
||||
packages:
|
||||
'react-native':
|
||||
allow_access: $all
|
||||
allow_publish: $all
|
||||
|
||||
'react-native-cli':
|
||||
allow_access: $all
|
||||
allow_publish: $all
|
||||
|
||||
'*':
|
||||
allow_access: $all
|
||||
proxy: npmjs
|
||||
|
||||
logs:
|
||||
- {type: file, path: sinopia.log, format: pretty, level: http}
|
||||
|
||||
max_body_size: '50mb'
|
|
@ -68,7 +68,7 @@ echo "======== npm config ========"
|
|||
${NPM_PATH}npm config list
|
||||
echo "======== ======== ========"
|
||||
|
||||
${SINOPIA_PATH}sinopia --config $SCRIPTS/e2e-sinopia.config.yml &
|
||||
${NPM_PATH}node ${SINOPIA_PATH}sinopia --config $SCRIPTS/e2e-sinopia-lego.config.yml &
|
||||
SINOPIA_PID=$!
|
||||
|
||||
echo "=========== Sinopia is running, pid ${SINOPIA_PID}"
|
||||
|
|
Loading…
Reference in New Issue