Browse Source
enhance(ci-runtime): Run CI tasks in parallel
renovate/lint-staged-8.x
Ben Woosley
7 years ago
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345
2 changed files with
7 additions and
4 deletions
-
.travis.yml
-
package.json
|
|
@ -2,6 +2,10 @@ sudo: false |
|
|
|
|
|
|
|
language: node_js |
|
|
|
|
|
|
|
env: |
|
|
|
- TEST=lint-ci |
|
|
|
- TEST=test-ci |
|
|
|
|
|
|
|
node_js: |
|
|
|
- 8 |
|
|
|
- 7 |
|
|
@ -33,7 +37,4 @@ before_script: |
|
|
|
- sleep 3 |
|
|
|
|
|
|
|
script: |
|
|
|
- yarn lint |
|
|
|
- yarn package |
|
|
|
- yarn test |
|
|
|
- yarn test-e2e |
|
|
|
- "yarn $TEST" |
|
|
|
|
|
@ -12,6 +12,7 @@ |
|
|
|
"flow": "flow", |
|
|
|
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true", |
|
|
|
"lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .", |
|
|
|
"lint-ci": "npm run lint && npm run flow", |
|
|
|
"lint-fix": "npm run lint -- --fix", |
|
|
|
"lint-styles": "stylelint app/*.css app/components/*.css --syntax scss", |
|
|
|
"lint-styles-fix": "stylefmt -r app/*.css app/components/*.css", |
|
|
@ -25,6 +26,7 @@ |
|
|
|
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev", |
|
|
|
"start-renderer-dev": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js", |
|
|
|
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js", |
|
|
|
"test-ci": "npm run package && npm run test && npm run test-e2e", |
|
|
|
"test-all": "npm run lint && npm run flow && npm run build && npm run test && npm run test-e2e", |
|
|
|
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e", |
|
|
|
"test-watch": "npm test -- --watch", |
|
|
|