{"action":"closed","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5139","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5139/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5139/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5139/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5139","id":118027028,"number":5139,"title":"Cannot run a server","user":{"login":"gocreating","id":5002343,"avatar_url":"https://avatars.githubusercontent.com/u/5002343?v=3","gravatar_id":"","url":"https://api.github.com/users/gocreating","html_url":"https://github.com/gocreating","followers_url":"https://api.github.com/users/gocreating/followers","following_url":"https://api.github.com/users/gocreating/following{/other_user}","gists_url":"https://api.github.com/users/gocreating/gists{/gist_id}","starred_url":"https://api.github.com/users/gocreating/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocreating/subscriptions","organizations_url":"https://api.github.com/users/gocreating/orgs","repos_url":"https://api.github.com/users/gocreating/repos","events_url":"https://api.github.com/users/gocreating/events{/privacy}","received_events_url":"https://api.github.com/users/gocreating/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-20T12:04:37Z","updated_at":"2015-11-26T17:52:20Z","closed_at":"2015-11-26T17:52:19Z","body":"I'd like to open a testing server on travis for my nodejs project\r\n\r\nboth of the ways below didn't work:\r\n\r\n1. use nodemon\r\n2. use exec method of child_process\r\n\r\n  ```es6\r\n  const exec = require('child_process').exec;\r\n  const child = exec('node build/test/app.js', {\r\n    env: {\r\n      ...process.env,\r\n      NODE_ENV: NODE_ENV,\r\n      EXSEED_INIT: options.init,\r\n    },\r\n  });\r\n\r\n  // show outputs in realtime\r\n  child.stdout.on('data', (data) => {\r\n    console.log(data);\r\n  });\r\n\r\n  child.stderr.on('data', (data) => {\r\n    console.log(data);\r\n  });\r\n  ```\r\n\r\nmy app does log something when it starts running, and the test script works properly `locally`:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5002343/11299399/6aa5063e-8fc1-11e5-8a1f-75e5ecff5d4b.png)\r\n\r\nbut it `always` doesn't open a server on travis:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5002343/11299449/cd69ef6e-8fc1-11e5-8366-e2bdcbfae2a4.png)\r\n\r\nanybody know what happened?"}}