-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from QutBioacoustics/karma_special_case
fix(config) npm install and travis build by setting karma version
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,16 @@ The AngularJS client for the bioacoustic workbench | |
[](https://travis-ci.org/QutBioacoustics/baw-client) [](https://gemnasium.com/QutBioacoustics/baw-client) [](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 | ||
|
||
|