According to the Travis CI documentation, NodeJS and PhantomJS should already be installed on the worker