Skip to content

Commit b73c46c

Browse files
committed
chore: fix Travis build
Specify hostname/port for connect server to avoid joyent/libuv#826
1 parent 405f326 commit b73c46c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function(grunt) {
3535
util.parallelTask('tests:modules'),
3636
util.parallelTask('tests:jquery'),
3737
util.parallelTask('tests:jqlite'),
38-
util.parallelTask('tests:end2end')
38+
util.parallelTask('test:e2e')
3939
]
4040
}
4141
},
@@ -61,6 +61,11 @@ module.exports = function(grunt) {
6161
},
6262
testserver: {
6363
options: {
64+
// We use end2end task (which does not start the webserver)
65+
// and start the webserver as a separate process (in travis_build.sh)
66+
// to avoid https://github.com/joyent/libuv/issues/826
67+
port: 8000,
68+
hostname: '0.0.0.0',
6469
middleware: function(connect, options){
6570
return [
6671
function(req, resp, next) {

0 commit comments

Comments
 (0)