fix(ci): remove isolation between ci and local test script

This commit is contained in:
Mrugesh Mohapatra
2018-10-28 14:36:28 +05:30
committed by mrugesh mohapatra
parent 9fb0b57c26
commit 4d3641ad88
2 changed files with 2 additions and 3 deletions

View File

@ -24,4 +24,4 @@ before_script:
- git config --global user.name "CamperBot"
script:
- npm run test-ci
- npm run test

View File

@ -8,11 +8,10 @@
"develop": "npm-run-all -s ensure-env start-develop",
"ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js",
"lint": "echo 'Warning: TODO - Define Linting.'",
"pretest-ci": "npm-run-all -s lint bootstrap",
"pretest": "npm-run-all -s lint",
"seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges",
"start-develop": "node ./tools/scripts/start-develop.js",
"test": "npm-run-all -p test:*",
"test-ci": "npm test",
"test:client": "cd ./client && npm test && cd ../",
"test:curriculum": "cd ./curriculum && npm test && cd ../",
"test:guide-directories": "node ./tools/scripts/ci/ensure-guide-page-naming.js",