2015-11-19 19:00:35 +00:00
|
|
|
### To run manually on CI
|
|
|
|
cd ~/app
|
2015-11-19 18:40:15 +00:00
|
|
|
export BOX_VERSION=<version_to_test>
|
2015-11-19 19:00:35 +00:00
|
|
|
|
2015-07-28 16:26:57 +00:00
|
|
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "npm test"
|
2015-07-24 06:16:18 +00:00
|
|
|
|
2015-11-19 19:00:35 +00:00
|
|
|
OR
|
|
|
|
|
|
|
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd ./parallel_test.sh
|
|
|
|
|
|
|
|
### To run specific test on CI
|
2015-09-29 03:24:24 +00:00
|
|
|
cd ~/app
|
2015-11-19 18:40:15 +00:00
|
|
|
export BOX_VERSION=<version_to_test>
|
2015-10-11 04:36:06 +00:00
|
|
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "DEBUG=superagent-sync,e2e:* DEBUG_COLORS=true ./node_modules/.bin/mocha --bail test/new-user-test.js"
|
2015-09-29 03:24:24 +00:00
|
|
|
|