This repository was archived by the owner on Mar 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3- # - "0.8"
43 - " 0.10"
54 - " 0.12"
6- - " 4.2"
7- - " 4.4"
8- - " 5"
5+ - " 4"
96 - " 6"
10- - " 7"
117 - " 8"
12- - " 9"
138 - " 10"
14- env :
15- - TEST_SCRIPT=coverage
16-
17- sudo : false
18-
19- matrix :
20- include :
21- - node_js : " 10"
22- env : TEST_SCRIPT=test
23-
24- addons :
25- rake :
26- chrome : stable
27-
28- before script :
29- - export CHROME_BIN=/usr/bin/chromium-browser
30-
319script :
32- - npm run $TEST_SCRIPT
33- - " if [[ $TEST_SCRIPT == 'coverage' ]]; then node ./node_modules/.bin/codecov || exit 0; fi"
10+ - npm run coverage
Original file line number Diff line number Diff line change @@ -3,20 +3,21 @@ version: 0.2
33env :
44 variables :
55 AWS_REGION : " us-west-2"
6- NODE_PATH : " /root/.nvm/v8.11.3/lib/node_modules"
7- PATH : " /root/.nvm/versions/node/v8.11.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
6+ CHROME_BIN : " /usr/bin/chromium-browser"
87
98phases :
9+ install :
10+ runtime-versions :
11+ nodejs : 12
1012 pre_build :
1113 commands :
12- - echo use node 8.11.3
13- - export NVM_DIR=~/.nvm && source ~/.nvm/nvm.sh && nvm install 8.11.3
14- - echo use npm 3.10.10
15- - npm install -g npm@3.10.10
1614 - echo Install npm dependencies
1715 - npm install
1816 - gem install rake
1917 build :
2018 commands :
2119 - echo Running Test
2220 - npm run test
21+ post_build :
22+ commands :
23+ - ./node_modules/.bin/codecov -f coverage/*.json
You can’t perform that action at this time.
0 commit comments