Skip to content

Commit b8f83f8

Browse files
author
Guy
committed
add travis-ci
1 parent a444480 commit b8f83f8

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_store
2+
npm-debug.log
23
node_modules/

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
node_js:
3+
- "4.0"
4+
script: npm run-script build-and-test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
]
4949
},
5050
"scripts": {
51-
"test": "jest"
51+
"test": "jest",
52+
"build-and-test": "sh build.sh"
5253
},
5354
"license": "MIT"
5455
}

0 commit comments

Comments
 (0)