-
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.
fix npm install and travis build by setting karma version
- Loading branch information
Mark Cottman-Fields
committed
Apr 21, 2014
1 parent
51f8d86
commit 409ce71
Showing
2 changed files
with
9 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 |
---|---|---|
|
@@ -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 | ||
|
||
|