Skip to content

Commit 756789c

Browse files
committed
[feat] add ci
1 parent 6817bc0 commit 756789c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
3+
node_js:
4+
- "4"
5+
- "5"
6+
7+
after_success:
8+
- npm run coveralls

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"eslint-fix": "eslint --fix src",
3434
"gh-pages": "npm run doc -- --build && gh-pages -d __site",
3535
"pub": "npm run build && npm publish && npm run gh-pages",
36-
"beta": "npm run build && npm publish --tag beta && npm run gh-pages"
36+
"beta": "npm run build && npm publish --tag beta && npm run gh-pages",
37+
"test": "npm run lint",
38+
"coveralls": "cat ./coverage/lcov.info | coveralls"
3739
},
3840
"peerDependencies": {
3941
"dora": "~0.3.0",

0 commit comments

Comments
 (0)