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:
Martin Konicek 2016-03-16 08:20:01 -07:00 committed by Facebook Github Bot 3
parent ded362af81
commit 40732f7224
2 changed files with 24 additions and 1 deletions

View File

@ -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'

View File

@ -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}"