. ~/.nvm/nvm.sh

npm update

rm -rf browsers
mkdir browsers
./node_modules/.bin/browser-downloader browsers

nvm install 0.12
nvm install 4

./node_modules/.bin/gulp build

./node_modules/.bin/gulp test:local
./node_modules/.bin/gulp test:sauce

nvm use 0.12
./node_modules/.bin/gulp test:node

nvm use 4
./node_modules/.bin/gulp test:node


. ~/.nvm/nvm.sh

npm update

rm -rf browsers
mkdir browsers
./node_modules/.bin/browser-downloader browsers

nvm install 0.12
nvm install 4

./node_modules/.bin/gulp build

./node_modules/.bin/gulp test:local
./node_modules/.bin/gulp test:sauce

nvm --delete-prefix use 0.12
./node_modules/.bin/gulp test:node

nvm --delete-prefix use 4
./node_modules/.bin/gulp test:node


Add delete-prefix nvm command to work around probable El Capitan bug
Add delete-prefix nvm command to work around probable El Capitan bug

https://github.com/creationix/nvm/issues/855
