Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config) npm install and travis build by setting karma version #109

Merged
merged 2 commits into from
Apr 21, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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