Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit ab2d3ce

Browse files
authored
Add TravisCI support (#117)
1 parent 5fdb332 commit ab2d3ce

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
cache: yarn
3+
node_js:
4+
- 4
5+
- 6
6+
- 8
7+
script:
8+
- yarn run test-on-travis

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"lint": "eslint .",
1010
"format":
1111
"prettier --write *.js package.json .eslintrc.js 'examples/**/*.{js,json}' 'test/*.{js,jsx,json}'",
12-
"test": "node test"
12+
"test": "node test",
13+
"test-on-travis": "yarn run test && yarn run lint"
1314
},
1415
"author": "Paul O’Shannessy <[email protected]>",
1516
"repository": {

0 commit comments

Comments
 (0)