aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVojta Jina2013-08-12 21:41:20 -0700
committerVojta Jina2013-08-14 16:12:37 -0700
commit4656e386fbc194f46e78682b56ce9135a45b7a78 (patch)
treeb69a540b2bfe9a692dc690f15b78d520260ddc7e
parentf29f2f99b138de794a58500fed60452935293815 (diff)
downloadangular.js-4656e386fbc194f46e78682b56ce9135a45b7a78.tar.bz2
chore: fix Travis build
Specify hostname/port for connect server to avoid https://github.com/joyent/libuv/issues/826 Conflicts: Gruntfile.js
-rw-r--r--Gruntfile.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 404dc52f..9d406cf8 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -59,6 +59,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) {