For Travis CI - wrap package installation steps with 'travis_retry'.
Occasionally package installation could fail due to timed out or other unknown one-off network issue, using 'travis_retry' wrapper to retry the installation should fix this.