use phantomjs to run test on travis