forked from elastic/elasticsearch-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated mocha-cov dependency to be custom fork that provides valuable…
… information to coveralls, added engine info to package.json, disable styles for codeship, switched to code based pattern that is very specific since the entire es-js repo is stored withing a src directory on codeship
- Loading branch information
Spencer Alger
committed
Jan 22, 2014
1 parent
9419089
commit 1d991b4
Showing
32 changed files
with
128 additions
and
133 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
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
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
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
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
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 |
---|---|---|
@@ -1,46 +1,39 @@ | ||
#!/usr/bin/env bash | ||
|
||
source $HOME/.nvm/nvm.sh | ||
|
||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
source $HERE/_utils.sh | ||
source $HOME/.nvm/nvm.sh | ||
|
||
case $1 in | ||
setup) | ||
group "start: installing nvm 0.10" | ||
group "installing nvm 0.10" | ||
nvm install 0.10 | ||
group "end: installing nvm 0.10" | ||
|
||
group "start: installing nvm 0.8" | ||
group "installing nvm 0.8" | ||
nvm install 0.8 | ||
group "end: installing nvm 0.8" | ||
|
||
manage_es install master | ||
manage_es install 0.90 | ||
|
||
npm install | ||
;; | ||
run) | ||
# test in node 0.8 | ||
group "start: test node 0.8" | ||
group "test node 0.8" | ||
nvm use 0.8 | ||
echo "rebuilding npm deps" | ||
npm rebuild &> /dev/null | ||
npm --silent rebuild | ||
call ES_BRANCH=master ./scripts/ci.sh | ||
call ES_BRANCH=0.90 ./scripts/ci.sh | ||
group "end: test node 0.8" | ||
|
||
# test in node 0.10 | ||
group "start: test node 0.10" | ||
group "test node 0.10" | ||
nvm use 0.10 | ||
echo "rebuilding npm deps" | ||
npm rebuild &> /dev/null | ||
npm --silent rebuild | ||
call ES_BRANCH=master COVERAGE=1 ./scripts/ci.sh | ||
call ES_BRANCH=0.90 ./scripts/ci.sh | ||
group "end: test node 0.10" | ||
|
||
# browser tests (node version irrelevant) | ||
group "start: test browsers" | ||
group "test browsers" | ||
call NODE_UNIT=0 NODE_INTEGRATION=0 BROWSER_UNIT=1 ./scripts/ci.sh | ||
group "end: test browsers" | ||
;; | ||
esac |
Submodule elasticsearch
updated
from 104726 to 0a9713
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
var blanket = require("blanket")({ | ||
pattern: require('path').join(__dirname, '../../src') | ||
}); | ||
|
||
require('./index'); |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require('fs').readdirSync(__dirname + '/tests').forEach(function (file) { | ||
require(__dirname + '/tests/' + file); | ||
}); |
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
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
2 changes: 1 addition & 1 deletion
2
test/unit/test_client_action.js → test/unit/tests/client_action.js
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
8 changes: 4 additions & 4 deletions
8
test/unit/test_connection_abstract.js → test/unit/tests/connection_abstract.js
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
10 changes: 5 additions & 5 deletions
10
test/unit/test_connection_pool.js → test/unit/tests/connection_pool.js
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
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
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
Oops, something went wrong.