Bug 1205316 - Travis: Use the beta Trusty infra & update to mysql 5.6
Bug 1205316 - Travis: Use the beta Trusty infra & update to mysql 5.6

Stage/production/Vagrant/Heroku's RDS all use mysql 5.6, however Travis
is currently running v5.5. Installing mysql 5.6 manually on the Travis
container infra is currently broken:
https://github.com/travis-ci/apt-package-whitelist/issues/1206#issuecomment-149884653

To use sudo (for apt-get) we either have to fall back to the legacy
non-container infra, or else use the new Trusty beta infra:
http://blog.travis-ci.com/2015-10-14-opening-up-ubuntu-trusty-beta/
http://docs.travis-ci.com/user/trusty-ci-environment/#Runtimes

The Trusty beta infra is also non-container, but at least isn't EOL.
Unfortunately similar to the legacy non-container infra, it doesn't
offer caching, so incurs a setup time penalty of approx 3 minutes
(including the mysql 5.6 install, npm install and peep install). See:
https://github.com/travis-ci/travis-ci/issues/4997

If/when the container infra uses mysql 5.6 by default, or the bug
preventing installing it using the apt travis.yml option is fixed, we
should switch back to the container infra, to speed up the Travis run.

In this commit, we use `--user` with the peep install, since the
non-container infra doesn't set up a virtualenv, and we cannot use sudo
due to:
https://github.com/travis-ci/travis-ci/issues/4989

In addition, the current user ("travis") now doesn't have permissions to
create the Treeherder DB, so we have to use `-u root` (the password is
blank).

The new infra is running Python 2.7.10 (rather than the v2.7.9 of the
container infra) which now matches what runs in the Vagrant environment.
In future bugs we should update stage/prod and Heroku to 2.7.10 too.

glenn124f/treeherder,edmorley/treeherder,edmorley/treeherder,tojonmz/treeherder,parkouss/treeherder,tojon/treeherder,avih/treeherder,wlach/treeherder,sylvestre/treeherder,akhileshpillai/treeherder,akhileshpillai/treeherder,avih/treeherder,glenn124f/treeherder,KWierso/treeherder,gbrmachado/treeherder,tojonmz/treeherder,tojon/treeherder,akhileshpillai/treeherder,tojon/treeherder,glenn124f/treeherder,wlach/treeherder,kapy2010/treeherder,KWierso/treeherder,edmorley/treeherder,edmorley/treeherder,gbrmachado/treeherder,glenn124f/treeherder,avih/treeherder,avih/treeherder,wlach/treeherder,gbrmachado/treeherder,parkouss/treeherder,kapy2010/treeherder,avih/treeherder,akhileshpillai/treeherder,parkouss/treeherder,kapy2010/treeherder,tojonmz/treeherder,gbrmachado/treeherder,KWierso/treeherder,akhileshpillai/treeherder,glenn124f/treeherder,sylvestre/treeherder,wlach/treeherder,parkouss/treeherder,wlach/treeherder,parkouss/treeherder,sylvestre/treeherder,kapy2010/treeherder,avih/treeherder,glenn124f/treeherder,parkouss/treeherder,gbrmachado/treeherder,KWierso/treeherder,sylvestre/treeherder,tojonmz/treeherder,tojonmz/treeherder,sylvestre/treeherder,wlach/treeherder,tojonmz/treeherder,akhileshpillai/treeherder,sylvestre/treeherder,tojon/treeherder,kapy2010/treeherder,gbrmachado/treeherder