As more and more packages (e.g. Mocha reporters) seem to use syntax that Phantom.js does not seem to handle well anymore, this PR also moves the browser based test to a Chromium based setup that is pretty close to what is happening in Mochify itself (which is probably a good canary here too in case something goes wrong).
I would assume this will be a new major version, so I also went ahead and changed the Node versions used in Travis to all currently supported ones.
As discussed over in https://github.com/mantoni/mochify.js/issues/213, this updates Mocha to the most recent version.
As more and more packages (e.g. Mocha reporters) seem to use syntax that Phantom.js does not seem to handle well anymore, this PR also moves the browser based test to a Chromium based setup that is pretty close to what is happening in Mochify itself (which is probably a good canary here too in case something goes wrong).
I would assume this will be a new major version, so I also went ahead and changed the Node versions used in Travis to all currently supported ones.