Skip to content

Commit

Permalink
fix npm install and travis build by setting karma version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cottman-Fields committed Apr 21, 2014
1 parent 51f8d86 commit 409ce71
Show file tree
Hide file tree
Showing 2 changed files with 9 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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]

$ npm install

Expand Down

0 comments on commit 409ce71

Please sign in to comment.