feat(ci): Define linting stage for travis
This commit is contained in:
committed by
mrugesh mohapatra
parent
f45c3d4fa5
commit
ec7df15c5f
@ -23,6 +23,9 @@ before_script:
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Lint javaScript
|
||||
script: npm run lint
|
||||
|
||||
- stage: Unit and Integration tests
|
||||
script: npm test
|
||||
|
||||
|
@ -18,9 +18,7 @@
|
||||
"seed:auth-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
|
||||
"seed:challenges": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges",
|
||||
"postinstall": "npm run bootstrap",
|
||||
"pretest": "npm-run-all -s test:lint",
|
||||
"test": "npm-run-all -p test:*",
|
||||
"test:challenge-formatting": "node ./tools/scripts/ci/ensure-challenge-formatting.js",
|
||||
"test:client": "cd ./client && npm test && cd ../",
|
||||
"test:curriculum": "cd ./curriculum && npm test && cd ../",
|
||||
"test:guide-formatting": "node ./tools/scripts/ci/ensure-guide-formatting.js",
|
||||
|
Reference in New Issue
Block a user