diff options
| author | Vojta Jina | 2013-08-12 21:41:20 -0700 |
|---|---|---|
| committer | Vojta Jina | 2013-08-14 10:24:17 -0700 |
| commit | b73c46c2fd530e6a5c483bbd39031a99f8ab1b39 (patch) | |
| tree | 523ce068b9beb83357992a41607a145107bc762d /Gruntfile.js | |
| parent | 405f3267b8cdc4f332c6bff82661cbb5401ed733 (diff) | |
| download | angular.js-b73c46c2fd530e6a5c483bbd39031a99f8ab1b39.tar.bz2 | |
chore: fix Travis build
Specify hostname/port for connect server to avoid
https://github.com/joyent/libuv/issues/826
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 7 |
1 files changed, 6 insertions, 1 deletions
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) { |
