Travis: Add travis_retry to make apt-get commands persistent

This commit is contained in:
Daniel Jones 2016-04-27 11:21:37 +01:00
parent 45d5691254
commit 98d78f143b

View file

@ -1,8 +1,8 @@
dist: trusty
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install g++-4.9 cmake libasound2-dev -y
- travis_retry sudo apt-get update -q
- travis_retry sudo apt-get install g++-4.9 cmake libasound2-dev -y
- export CXX="g++-4.9" CC="gcc-4.9"
script:
- mkdir build