travis: retry package installation

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