stops testing multiple versions of node on codeship, added 1.0 branch, and fixed the browsername for chrome on saucelabs

This commit is contained in:
Spencer Alger
2014-02-05 11:48:24 -07:00
parent 7b795fc1a0
commit 64db417f92
2 changed files with 8 additions and 28 deletions

View File

@ -13,11 +13,11 @@ module.exports = {
key: slk.key, key: slk.key,
browsers: [ browsers: [
{ {
browserName: 'chrome', browserName: 'googlechrome',
platform: 'Windows 8' platform: 'XP'
}, },
{ {
browserName: 'chrome', browserName: 'firefox',
platform: 'Linux' platform: 'Linux'
}, },
{ {
@ -34,14 +34,6 @@ module.exports = {
browserName: 'internet explorer', browserName: 'internet explorer',
version: '9', version: '9',
platform: 'Windows 7' platform: 'Windows 7'
},
{
browserName: 'firefox',
platform: 'Windows 7'
},
{
browserName: 'firefox',
platform: 'Linux'
} }
] ]
} }

View File

@ -7,31 +7,19 @@ source $HERE/_utils.sh
case $1 in case $1 in
setup) setup)
group "installing nvm 0.10" group "installing node 0.10"
nvm install 0.10 nvm install 0.10
group "installing nvm 0.8" npm --quiet install
nvm install 0.8
manage_es install master
manage_es install 0.90
npm install
;; ;;
run) run)
group "test node 0.8"
nvm use 0.8
echo "rebuilding npm deps"
npm rebuild &> /dev/null
call ES_BRANCH=master ./scripts/ci.sh
call ES_BRANCH=0.90 ./scripts/ci.sh
group "test node 0.10" group "test node 0.10"
nvm use 0.10 nvm use 0.10
echo "rebuilding npm deps" echo "rebuilding npm deps"
npm rebuild &> /dev/null npm rebuild &> /dev/null
call ES_BRANCH=master COVERAGE=1 ./scripts/ci.sh call ES_BRANCH=master NODE_UNIT=0 COVERAGE=1 ./scripts/ci.sh
call ES_BRANCH=0.90 ./scripts/ci.sh call ES_BRANCH=1.0 NODE_UNIT=0 ./scripts/ci.sh
call ES_BRANCH=0.90 NODE_UNIT=0 ./scripts/ci.sh
group "test browsers" group "test browsers"
call NODE_UNIT=0 NODE_INTEGRATION=0 BROWSER_UNIT=1 ./scripts/ci.sh call NODE_UNIT=0 NODE_INTEGRATION=0 BROWSER_UNIT=1 ./scripts/ci.sh