Skip to content

Commit a784bc6

Browse files
authored
Merge pull request #18 from jeiker26/develop
Develop
2 parents 16cc3eb + a16fb68 commit a784bc6

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ example/node_modules
66

77
# testing
88
coverage
9+
.coveralls.yml
910

1011
# production
1112
build

Diff for: .travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ notifications:
55
email:
66
- jesusgraficap@gmail.com
77

8+
cache:
9+
directories:
10+
- node_modules
811
before_install:
9-
- pip install --user codecov
12+
- npm update
1013
install:
1114
- npm install
1215
script:
1316
- npm run prepare
1417
- npm run test:ci
15-
# - npm run coveralls
1618
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
1820

1921
branches:
2022
only:

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"test": "BABEL_ENV=test jest --watchAll --no-cache --config ./jest.config.json",
2626
"test:coverage": "BABEL_ENV=test jest --watchAll --coverage --no-cache --config ./jest.config.json",
2727
"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",
2929
"start:example": "webpack-dev-server --config ./webpack.config.js --mode development",
3030
"release": "npm publish --access=public"
3131
},

0 commit comments

Comments
 (0)