change to TEST_ENV

v1.18.x
Barış Soner Uşaklı 6 years ago
parent 45b6e56665
commit fc68263f91

@ -15,10 +15,10 @@ language: node_js
sudo: false
dist: trusty
env:
- CXX=g++-4.8 DB=mongodb NODE_ENV=production
- CXX=g++-4.8 DB=mongodb NODE_ENV=development
- CXX=g++-4.8 DB=redis NODE_ENV=production
- CXX=g++-4.8 DB=postgres NODE_ENV=production
- CXX=g++-4.8 DB=mongodb TEST_ENV=production
- CXX=g++-4.8 DB=mongodb TEST_ENV=development
- CXX=g++-4.8 DB=redis TEST_ENV=production
- CXX=g++-4.8 DB=postgres TEST_ENV=production
addons:
apt:
sources:

@ -11,7 +11,7 @@ var path = require('path');
var nconf = require('nconf');
var url = require('url');
global.env = process.env.NODE_ENV || 'production';
global.env = process.env.TEST_ENV || 'production';
var errorText;
var packageInfo = require('../../package');

Loading…
Cancel
Save