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>
|
2016-06-23 19:57:51 +00:00
|
|
|
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "DEBUG=imap-probe,superagent-sync,e2e:* DEBUG_COLORS=true ./node_modules/.bin/mocha --bail test/new-user-test.js"
|
2015-09-29 03:24:24 +00:00
|
|
|
|
2015-12-17 21:43:47 +00:00
|
|
|
### AWS Keys
|
|
|
|
AWS_STAGING_ACCESS_KEY and AWS_STAGING_SECRET_KEY exist for the release tool to make a new release.
|
|
|
|
|