Skip to content

Commit 6c653f0

Browse files
committed
⚡ add config for travisci
so we can get status notifications on pull requests
1 parent bb0cf12 commit 6c653f0

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: node_js
2+
node_js:
3+
- 'iojs-v2.3.4'
4+
before_install:
5+
- npm install -g npm@3
6+
script: npm run-script ci
7+
cache:
8+
directories:
9+
- node_modules
10+
# Post build notifications to the Integrations Flowdock
11+
notifications:
12+
flowdock: e3dc17bc8a2c1b3412abe3e5747f8291

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
"start": "gulp dev",
5555
"release": "gulp release",
5656
"test": "mocha",
57+
"ci": "npm run check",
5758
"check": "mongodb-js-precommit",
5859
"fmt": "mongodb-js-fmt src/{**/*.js,*.js}"
5960
},
6061
"pre-commit": [
61-
"check",
62-
"test"
62+
"check"
6363
],
6464
"repository": {
6565
"type": "git",

0 commit comments

Comments
 (0)