Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
tools: add cross-test.sh
Browse files Browse the repository at this point in the history
run tests for all relevant versions of io.js/node.js
  • Loading branch information
skenqbx committed Apr 24, 2015
1 parent 8f8c0fb commit 17b31fb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tools/cross-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#/bin/bash
#
# Run tests for all relevant versions of io.js/node.js
#
# nvm
# https://github.com/creationix/nvm
#
# $ git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
# $ echo "source ~/.nvm/nvm.sh" >> ~/.bashrc
#

source ~/.nvm/nvm.sh

nvm install iojs
node_modules/.bin/_mocha ./test

nvm install 0.12.2
node_modules/.bin/_mocha ./test

nvm install 0.10.38
node_modules/.bin/_mocha ./test

0 comments on commit 17b31fb

Please sign in to comment.