get result in travis from phantomjs