Skip to content

Commit c939cfd

Browse files
committed
Merge pull request #146 from 10gen/add-travis-config
⚡ add config for travisci
2 parents bb0cf12 + af4142f commit c939cfd

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
node_js:
3+
- 'iojs-v2.3.4'
4+
before_install:
5+
- npm install -g npm@3
6+
- npm config set loglevel error
7+
- npm config -g list -l
8+
- npm --version
9+
script: npm run-script ci
10+
cache:
11+
directories:
12+
- node_modules
13+
# Post build notifications to the Integrations Flowdock
14+
notifications:
15+
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)