#!/usr/bin/env bash

echo "TRAVIS_NODE_VERSION: ${TRAVIS_NODE_VERSION}"

if [ ${TRAVIS_NODE_VERSION} = '5.9' ]; then
  npm install -g phantomjs@2.1.3
fi

#!/usr/bin/env bash

echo "TRAVIS_NODE_VERSION: ${TRAVIS_NODE_VERSION}"

if [ ${TRAVIS_NODE_VERSION} = '5.9' ]; then
  npm install -g phantomjs@2.1.3
else
  npm install -g phantomjs@1.9.18
fi

Add stable version of phantom
Add stable version of phantom
