Configure Travis CI using phantomjs