Travis CI runs tests before deploying (John)

Also make Travis cache bundler and run tests under xvfb