Skip to content

Commit 5172b56

Browse files
committed
added travis
1 parent 3d4725e commit 5172b56

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
sudo: false
2+
language: node_js
3+
node_js:
4+
- "0.12"
5+
- "4.0"
6+
script: npm run travis
7+
8+
before_install:
9+
- '[ "${TRAVIS_NODE_VERSION}" != "0.10" ] || npm install -g npm'

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"autotest": "chokidar src test -c 'npm test'",
1010
"test": "mocha --compilers js:babel/register",
1111
"posttest": "npm run lint && npm run build",
12+
"travis": "npm run test",
1213
"prepublish": "npm run build"
1314
},
1415
"repository": {

0 commit comments

Comments
 (0)