From 94f0513aa1ee356c1a63518ce29a20d2c9630060 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 13 Jun 2014 10:48:10 -0700 Subject: [PATCH] Update closure-util The closure-util package works on Node 0.8, 0.10, and 0.11 (as of this writing), but it requires an updated version of npm to install on Node 0.8. For the build to pass on Travis, we update npm before installing other dependencies. For others who are installing the openlayers package, nothing special is required for Node 0.10 and above. For users on Node 0.8, the openlayers package will only install with an updated version of npm. This can be installed with npm itself. npm install -g npm # only needed on Node 0.8 --- .travis.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a11387ca0..158af09d61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ before_install: - "sudo pip install -r requirements.txt" - - "npm install" + - "npm install -g npm && npm install" before_script: - "./build.py plovr" diff --git a/package.json b/package.json index cb9ccb0bc9..46d2831856 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "htmlparser2": "~3.7.1" }, "devDependencies": { - "closure-util": "~0.12.0", + "closure-util": "~0.14.0", "jshint": "~2.5.1", "jsdoc": "~3.3.0-alpha7", "taffydb": "~2.7.0",