File tree Expand file tree Collapse file tree 2 files changed +15
-17
lines changed
Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 1- general :
2- artifacts :
3- - " ./coverage "
1+ machine :
2+ environment :
3+ NO_WATCH_TESTS : 1
44
55machine :
6- node :
7- version : 4.7.0
6+ environment :
7+ PATH : " ${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin "
88
99dependencies :
1010 pre :
11- - npm install -g yarn
11+ - case $CIRCLE_NODE_INDEX in 0) NODE_VERSION=4 ;; 1) NODE_VERSION=7 ;; esac; nvm install $NODE_VERSION && nvm alias default $NODE_VERSION
1212 override :
13- - yarn install
14- post :
13+ - yarn
1514 - yarn link || true && yarn link webpack
15+ cache_directories :
16+ - ~/.cache/yarn
1617
1718test :
18- pre :
19- - npm run travis:lint
2019 override :
21- - npm run travis:test :
22- parallel : true
23- files :
24- - test/ConfigTestCases.test.js
25- - test/TestCases.test.js
26- - test/Stats.test.js
27- - test/**/*.test.js
20+ - node -v
21+ - yarn --version
22+ - yarn run circleci:lint
23+ - yarn run circleci:test
Original file line number Diff line number Diff line change 9494 "travis:benchmark" : " npm run benchmark" ,
9595 "appveyor:test" : " node --max_old_space_size=4096 node_modules\\ mocha\\ bin\\ mocha --harmony test/*.test.js" ,
9696 "appveyor:benchmark" : " npm run benchmark" ,
97+ "circleci:test" : " node --max_old_space_size=4096 node_modules/mocha/bin/mocha --harmony test/*.test.js" ,
98+ "circleci:lint" : " npm run lint-files && npm run nsp" ,
9799 "build:examples" : " cd examples && node buildAll.js" ,
98100 "pretest" : " npm run lint-files" ,
99101 "lint-files" : " npm run lint && npm run beautify-lint" ,
You can’t perform that action at this time.
0 commit comments