From 409ce71b5339ce9efad7d04f784724522e19a297 Mon Sep 17 00:00:00 2001 From: Mark Cottman-Fields Date: Mon, 21 Apr 2014 16:42:11 +1000 Subject: [PATCH] fix npm install and travis build by setting karma version --- .travis.yml | 6 +++++- README.md | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9c33c2f6..9937c6aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,14 @@ language: node_js node_js: - "0.10" +# Karma requires a specific version due to dependency issues. +before_install: + - npm install --quiet -g karma@0.10.10 + before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - - npm install --quiet -g grunt-cli karma bower + - npm install --quiet -g grunt-cli bower - bower install script: grunt diff --git a/README.md b/README.md index 58aa14db..a79547c4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,10 @@ The AngularJS client for the bioacoustic workbench ## Install instructions $ npm -g install grunt-cli karma bower -cd to your cloned directory and then +cd to your cloned directory and then install `npm` and `bower` modules. +Karma requires a specific version due to dependency issues. + + $ npm install --quiet -g karma@0.10.10 $ npm install