Use travis_retry to reduce false negative test results on Travis

See http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/

Thanks to Mateusz Kowalczyk for the tip.