mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore: fix Travis build
Specify hostname/port for connect server to avoid https://github.com/joyent/libuv/issues/826
This commit is contained in:
parent
405f3267b8
commit
b73c46c2fd
1 changed files with 6 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue