Skip to content

Commit c102ed7

Browse files
author
Carsten Griwodz
authored
Merge pull request #68 from alicevision/travis-retry-apt
[travis] add travis_retry on apt commands
2 parents f93abbe + 83b8e85 commit c102ed7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ install:
6161
- wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/$CUDA_REPO_PKG
6262
- sudo dpkg -i $CUDA_REPO_PKG
6363
- rm ${CUDA_REPO_PKG}
64-
- sudo apt-get -y update
65-
- sudo apt-get install -y --no-install-recommends cuda-core-$CUDA_PKG_VERSION cuda-cudart-dev-$CUDA_PKG_VERSION cuda-cublas-dev-$CUDA_PKG_VERSION cuda-curand-dev-$CUDA_PKG_VERSION
64+
- travis_retry sudo apt-get -y update
65+
- travis_retry sudo apt-get install -y --no-install-recommends cuda-core-$CUDA_PKG_VERSION cuda-cudart-dev-$CUDA_PKG_VERSION cuda-cublas-dev-$CUDA_PKG_VERSION cuda-curand-dev-$CUDA_PKG_VERSION
6666
- sudo ln -s /usr/local/cuda-${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR} /usr/local/cuda
6767

6868
before_script:

0 commit comments

Comments
 (0)