Skip to content

Commit 0c45389

Browse files
committed
Enable travis-ci
1 parent fb0e16c commit 0c45389

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
node_js:
3+
- '8'
4+
- '10'
5+
- stable
6+
7+
install:
8+
- npm install
9+
10+
script:
11+
- npm run lint
12+
- npm run build
13+
- npm test
14+
15+
after_script:
16+
- npm run coveralls

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "tsc",
99
"watch": "tsc -w",
1010
"lint": "eslint \"src/**/*.ts\" && eslint \"test/**/*.ts\"",
11-
"test": "jest --verbose"
11+
"test": "jest --verbose",
12+
"coveralls": "coveralls coverage/lcov.info"
1213
},
1314
"repository": {
1415
"type": "git",

0 commit comments

Comments
 (0)