chore: fix Travis build

Specify hostname/port for connect server to avoid
https://github.com/joyent/libuv/issues/826
This commit is contained in:
Vojta Jina 2013-08-12 21:41:20 -07:00
parent 405f3267b8
commit b73c46c2fd

View file

@ -35,7 +35,7 @@ module.exports = function(grunt) {
util.parallelTask('tests:modules'),
util.parallelTask('tests:jquery'),
util.parallelTask('tests:jqlite'),
util.parallelTask('tests:end2end')
util.parallelTask('test:e2e')
]
}
},
@ -61,6 +61,11 @@ module.exports = function(grunt) {
},
testserver: {
options: {
// We use end2end task (which does not start the webserver)
// and start the webserver as a separate process (in travis_build.sh)
// to avoid https://github.com/joyent/libuv/issues/826
port: 8000,
hostname: '0.0.0.0',
middleware: function(connect, options){
return [
function(req, resp, next) {