run lint separately (#32)
This commit is contained in:
parent
69e93fdb89
commit
aa61aabb82
@ -1,12 +1,21 @@
|
|||||||
git:
|
git:
|
||||||
depth: 1
|
depth: 3
|
||||||
sudo: false
|
sudo: false
|
||||||
language: node_js
|
language: node_js
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
node_js:
|
node_js:
|
||||||
|
- '7'
|
||||||
- '6'
|
- '6'
|
||||||
- '5'
|
- '4'
|
||||||
- '0.12'
|
- '0.12'
|
||||||
- '0.10'
|
- '0.10'
|
||||||
|
script:
|
||||||
|
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
|
||||||
|
- 'if [ -z "${LINT-}" ]; then npm run ci ; fi'
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
- node_js: "node"
|
||||||
|
env: LINT=true
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
"dev": "babel -w src -d lib",
|
"dev": "babel -w src -d lib",
|
||||||
"lint": "eslint scripts src test",
|
"lint": "eslint scripts src test",
|
||||||
"fix": "eslint scripts src test --fix",
|
"fix": "eslint scripts src test --fix",
|
||||||
"ci": "npm run lint && npm run test",
|
"ci": "npm run test",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
|
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
|
||||||
"test": "mocha ./test --compilers js:babel-register"
|
"test": "mocha ./test --compilers js:babel-register"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user