run test in parallel

pull/1/head
yann300 8 years ago
parent d443252c8c
commit e7f3cf8384
  1. 5
      ci/browser_tests.sh
  2. 1
      package.json

@ -20,10 +20,7 @@ while [ ! -f "$SAUCECONNECT_READYFILE" ]; do
sleep .5
done
npm run browser-test-remote-firefox || TEST_EXITCODE=1
npm run browser-test-remote-chrome || TEST_EXITCODE=1
npm run browser-test-remote-safari || TEST_EXITCODE=1
npm run browser-test-remote-ie || TEST_EXITCODE=1
npm run browser-test-remote-parallel || TEST_EXITCODE=1
node ci/sauceDisconnect.js "$SAUCECONNECT_USERNAME" "$SAUCECONNECT_ACCESSKEY" "$SAUCECONNECT_JOBIDENTIFIER"

@ -8,6 +8,7 @@
"browser-test-remote-firefox": "nightwatch --config nightwatch.js --env default",
"browser-test-remote-ie": "nightwatch --config nightwatch.js --env ie",
"browser-test-remote-safari": "nightwatch --config nightwatch.js --env safari",
"browser-test-remote-parallel": "nightwatch --config nightwatch.js --env safari,ie,default,chrome",
"build": "mkdir -p build; browserify src/index.js -g yo-yoify -o build/app.js; babel --plugins babel-plugin-transform-es2015-template-literals,babel-plugin-transform-es2015-block-scoping build/app.js --out-file build/app.js",
"csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='assets/css/font-awesome.min.css' assets/css/",
"downloadsolc": "rm soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js",

Loading…
Cancel
Save