Add travis_retry to sudo apt-get install and pip install in .travis.yml
Merge pull request #2819 from sbesson/travis_retry

Add travis_retry to sudo apt-get install and pip install in .travis.yml