Skip to content

Commit 14ca9af

Browse files
committed
added dredd
1 parent ae02806 commit 14ca9af

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
language: node_js
22
node_js:
3-
- "7"
4-
- "6"
5-
- "4"
3+
- '7'
4+
- '6'
5+
- '4'
66
before_script:
7-
- npm install -g gulp mocha gulp-cli codecov istanbul
7+
- npm install -g gulp mocha gulp-cli codecov istanbul [email protected]
8+
- dredd
89
install:
910
- npm install
10-
script:
11-
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && codecov
11+
script:
12+
- >-
13+
istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
14+
&& codecov

config/development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"use strict";
22
module.exports = {
33
env: process.env.NODE_ENV || 'development',
4-
port: process.env.PORT || 3000,
4+
port: process.env.PORT || 8080,
55
trustProxy: process.env.TRUST_PROXY || 'no',
66
bugsnagKey: process.env.BUGSNAG_KEY || false,
77
secureMode: process.env.SECURE_MODE || false,
8-
secret: process.env.SECRET || 'lakikihdgdfdjjjdgd67264664vdjhjdyncmxuei8336%%^#%gdvdhj????jjhdghduue'
8+
secret: process.env.SECRET || 'lakikihdgdfdjjjdgd67264664vdjhjdyncmxuei8336%%^#%gdvdhj????jjhdghduue',
9+
mongoURL: process.env.MONGOLAB_URL || 'mongodb://192.168.99.100/snipe'
910
};

config/production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"use strict";
22
module.exports = {
33
env: process.env.NODE_ENV || 'production',
4-
port: process.env.PORT || 3000,
4+
port: process.env.PORT || 80,
55
trustProxy: process.env.TRUST_PROXY || 'no',
66
bugsnagKey: process.env.BUGSNAG_KEY || false,
77
secureMode: process.env.SECURE_MODE || true,
8-
secret: process.env.SECRET || 'lakikihdgdfdjjjdgd67264660okjnbgtrdxswerfgytg373745ei8336%%^#%gdvdhj????jjhdghduue'
8+
secret: process.env.SECRET || 'lakikihdgdfdjjjdgd67264660okjnbgtrdxswerfgytg373745ei8336%%^#%gdvdhj????jjhdghduue',
9+
mongoURL: process.env.MONGOLAB_URL || 'mongodb://192.168.99.100/snipe'
910
};

0 commit comments

Comments
 (0)