Skip to content

Commit

Permalink
Merge pull request #109 from QutBioacoustics/karma_special_case
Browse files Browse the repository at this point in the history
fix(config) npm install and travis build by setting karma version
  • Loading branch information
atruskie committed Apr 21, 2014
2 parents 775d6ab + bc11b41 commit 6391a0f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]

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
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
$ npm -g install grunt-cli karma bower

cd to your cloned directory and then install `npm` and `bower` modules.

$ npm install

Expand Down

0 comments on commit 6391a0f

Please sign in to comment.