We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 012e73e commit 1e49c71Copy full SHA for 1e49c71
.travis.yml
@@ -0,0 +1,23 @@
1
+sudo: false
2
+
3
+language: node_js
4
+node_js:
5
+ - 4
6
+ - stable
7
8
+env:
9
+ - CXX=g++-4.8
10
+addons:
11
+ apt:
12
+ sources:
13
+ - ubuntu-toolchain-r-test
14
+ packages:
15
+ - g++-4.8
16
17
+services:
18
+ - mongodb
19
20
+before_install:
21
+ - $CXX --version
22
23
+script: npm test
package.json
@@ -4,7 +4,7 @@
"description": "a example for nodejs mock nodeclub(nc)",
"main": "app.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "./node_modules/mocha/bin/mocha --reporter spec --timeout 10000 -c $(find ./test -name \"*.js\")"
},
"keywords": [
"nodeclub",
0 commit comments