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..6a5806bd 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,16 @@ The AngularJS client for the bioacoustic workbench [![Build Status](https://travis-ci.org/QutBioacoustics/baw-client.png)](https://travis-ci.org/QutBioacoustics/baw-client) [![Dependency Status](https://gemnasium.com/QutBioacoustics/baw-client.png)](https://gemnasium.com/QutBioacoustics/baw-client) [![Code Quality](https://d3s6mut3hikguw.cloudfront.net/github/QutBioacoustics/baw-client.png)](https://codeclimate.com/github/QutBioacoustics/baw-client) --- ## Install instructions + +Normally this would work: $ npm -g install grunt-cli karma bower -cd to your cloned directory and then +Specific version of karma due to dependency issues. +Temporary fix: + $ npm install -g karma@0.10.10 + $ npm -g install grunt-cli karma bower + +cd to your cloned directory and then install `npm` and `bower` modules. $ npm install