Use travis_retry to avoid package install network timeouts

http://about.travis-ci.org/blog/2013-05-20-network-timeouts-build-retries/