Improve circle.yml
This commit is contained in:
parent
57a288a564
commit
06d506855e
3 changed files with 27 additions and 2789 deletions
32
circle.yml
32
circle.yml
|
|
@ -1,8 +1,28 @@
|
||||||
|
machine:
|
||||||
|
node:
|
||||||
|
version: 6
|
||||||
|
dependencies:
|
||||||
|
cache_directories:
|
||||||
|
- ~/nvm
|
||||||
|
- ~/.npm
|
||||||
|
override:
|
||||||
|
- git clean -dfx
|
||||||
|
- nvm use 0.12 && nvm alias default 0.12
|
||||||
|
- npm install
|
||||||
|
- npm run test
|
||||||
|
- git clean -dfx
|
||||||
|
- nvm use 4 && nvm alias default 4
|
||||||
|
- npm install
|
||||||
|
- npm run test
|
||||||
|
- git clean -dfx
|
||||||
|
- nvm use 5 && nvm alias default 5
|
||||||
|
- npm install
|
||||||
|
- npm run test
|
||||||
|
- git clean -dfx
|
||||||
|
- nvm use 6 && nvm alias default 6
|
||||||
|
- npm install
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- nvm install 0.12 && npm test
|
- npm run style
|
||||||
- nvm install 4 && npm run style && npm test
|
- npm run test
|
||||||
- nvm install 5 && npm run style && npm test
|
- npm run codacy
|
||||||
post:
|
|
||||||
- nvm install 6 && npm install && npm run style && npm test
|
|
||||||
- cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage
|
|
||||||
|
|
|
||||||
2782
npm-shrinkwrap.json
generated
2782
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -44,7 +44,7 @@
|
||||||
"coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*",
|
"coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*",
|
||||||
"check-coverage": "istanbul check-coverage --statements 90 --functions 90 --branches 85 --lines 90 ./coverage/coverage.json",
|
"check-coverage": "istanbul check-coverage --statements 90 --functions 90 --branches 85 --lines 90 ./coverage/coverage.json",
|
||||||
"test": "npm run coverage && npm run check-coverage",
|
"test": "npm run coverage && npm run check-coverage",
|
||||||
"codacy": "npm run coverage && cat ./coverage/lcov.info | codacy-coverage",
|
"codacy": "cat ./coverage/lcov.info | codacy-coverage",
|
||||||
"preversion": "npm run release && npm run release-website && npm test",
|
"preversion": "npm run release && npm run release-website && npm test",
|
||||||
"version": "npm run release-bower && git add -A src dist package.json bower.json",
|
"version": "npm run release-bower && git add -A src dist package.json bower.json",
|
||||||
"postversion": "git push && git push --tags"
|
"postversion": "git push && git push --tags"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue