message: making sure to use HUB_ENVIRONMENT=test in spawned truffle tests
diff: @@ -7,7 +7,13 @@ const spawn = require('child_process').spawn;
  function testPackage(pkg) {
  return new Promise((res, reject) => {
  let truffleBin = './node_modules/.bin/truffle';
  - let proc = spawn(process.execPath, [truffleBin, 'test'], { stdio: ['ignore', process.stdout, process.stderr], cwd: pkg });
  + let proc = spawn(process.execPath, [truffleBin, 'test'], {
  + stdio: ['ignore', process.stdout, process.stderr],
  + cwd: pkg,
  + env: {
  + HUB_ENVIRONMENT: 'test'
  + }
  + });
  proc.on('exit', function (code, signal) {
  if (signal) {
  process.kill(process.pid, signal);
  