From b73c46c2fd530e6a5c483bbd39031a99f8ab1b39 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Mon, 12 Aug 2013 21:41:20 -0700 Subject: chore: fix Travis build Specify hostname/port for connect server to avoid https://github.com/joyent/libuv/issues/826 --- Gruntfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 92c9a204..fb11fba0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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) { -- cgit v1.2.3