If you’re prepared to test in parallel as suggested by Lev above you can get better isolation by adding the following to circle.yml
:
dependencies:
pre:
- case $CIRCLE_NODE_INDEX in 0) NODE_VERSION=4 ;; 1) NODE_VERSION=5 ;; 2) NODE_VERSION=6 ;; esac; nvm install $NODE_VERSION && nvm alias default $NODE_VERSION
test:
override:
- ./<your-test-command>
This example assumes that parallelism is set to 3x.