Test against multiple Node versions on Travis
This commit is contained in:
@@ -24,6 +24,15 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- env:
|
- env:
|
||||||
- USE_SAUCE=false
|
- USE_SAUCE=false
|
||||||
|
- NODE_VERSION="4.8.6"
|
||||||
|
- TEST_COMMAND="bash travis-node-script.sh"
|
||||||
|
- env:
|
||||||
|
- USE_SAUCE=false
|
||||||
|
- NODE_VERSION="8.9.1"
|
||||||
|
- TEST_COMMAND="bash travis-node-script.sh"
|
||||||
|
- env:
|
||||||
|
- USE_SAUCE=false
|
||||||
|
- NODE_VERSION="9.1.0"
|
||||||
- TEST_COMMAND="bash travis-node-script.sh"
|
- TEST_COMMAND="bash travis-node-script.sh"
|
||||||
- env:
|
- env:
|
||||||
- JASMINE_BROWSER="safari"
|
- JASMINE_BROWSER="safari"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ rm -rf ~/.nvm
|
|||||||
git clone https://github.com/creationix/nvm.git ~/.nvm
|
git clone https://github.com/creationix/nvm.git ~/.nvm
|
||||||
(cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
|
(cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
|
||||||
source ~/.nvm/nvm.sh
|
source ~/.nvm/nvm.sh
|
||||||
nvm install v4.8.6
|
nvm install $NODE_VERSION
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
npm test
|
npm test
|
||||||
|
|||||||
Reference in New Issue
Block a user