File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 7 "
4
- - " 6 "
5
- - " 4 "
3
+ - ' 7 '
4
+ - ' 6 '
5
+ - ' 4 '
6
6
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
8
9
install :
9
10
- 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
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
module . exports = {
3
3
env : process . env . NODE_ENV || 'development' ,
4
- port : process . env . PORT || 3000 ,
4
+ port : process . env . PORT || 8080 ,
5
5
trustProxy : process . env . TRUST_PROXY || 'no' ,
6
6
bugsnagKey : process . env . BUGSNAG_KEY || false ,
7
7
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'
9
10
} ;
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
module . exports = {
3
3
env : process . env . NODE_ENV || 'production' ,
4
- port : process . env . PORT || 3000 ,
4
+ port : process . env . PORT || 80 ,
5
5
trustProxy : process . env . TRUST_PROXY || 'no' ,
6
6
bugsnagKey : process . env . BUGSNAG_KEY || false ,
7
7
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'
9
10
} ;
You can’t perform that action at this time.
0 commit comments