Updated the build process

Use travis' new build worker and travis_retry instead of --use-mirrors since it's deprecated.
The new travis worker is faster to boot and if the build doesn't use sudo it's possible to use it.