File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ example/node_modules
6
6
7
7
# testing
8
8
coverage
9
+ .coveralls.yml
9
10
10
11
# production
11
12
build
Original file line number Diff line number Diff line change @@ -5,16 +5,18 @@ notifications:
5
5
email :
6
6
- jesusgraficap@gmail.com
7
7
8
+ cache :
9
+ directories :
10
+ - node_modules
8
11
before_install :
9
- - pip install --user codecov
12
+ - npm update
10
13
install :
11
14
- npm install
12
15
script :
13
16
- npm run prepare
14
17
- npm run test:ci
15
- # - npm run coveralls
16
18
after_success :
17
- - codecov --file coverage/lcov.info --disable search
19
+ - cat ./ coverage/lcov.info | COVERALLS_REPO_TOKEN=COVERALLS_REPO_TOKEN coveralls && rm -rf ./coverage
18
20
19
21
branches :
20
22
only :
Original file line number Diff line number Diff line change 25
25
"test" : " BABEL_ENV=test jest --watchAll --no-cache --config ./jest.config.json" ,
26
26
"test:coverage" : " BABEL_ENV=test jest --watchAll --coverage --no-cache --config ./jest.config.json" ,
27
27
"test:ci" : " BABEL_ENV=test jest --coverage --no-cache --config ./jest.pro.config.json --runInBand" ,
28
- "coveralls" : " cat ./coverage/lcov.info | coveralls" ,
28
+ "local: coveralls" : " cat ./coverage/lcov.info | coveralls && rm -rf ./coverage " ,
29
29
"start:example" : " webpack-dev-server --config ./webpack.config.js --mode development" ,
30
30
"release" : " npm publish --access=public"
31
31
},
You can’t perform that action at this time.
0 commit comments