Skip to content

Commit 90fe0ce

Browse files
Mitigate travis network timeout issues
Refs #189
1 parent 30b53fb commit 90fe0ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ before_install:
2525
# Add mono repo
2626
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
2727
- echo "deb http://download.mono-project.com/repo/ubuntu stable-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
28-
- sudo apt-get -qq update
29-
- sudo apt-get install -y mono-devel
28+
- travis_retry sudo apt-get -qq update
29+
- travis_retry sudo apt-get install -y mono-devel
3030
# Configure $PATH: Executables are installed to $HOME/bin
3131
- export PATH="$HOME/bin:$PATH"
3232
# Download the makefile to emacs-travis.mk
3333
- wget 'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk'
3434
# Install Emacs (according to $EMACS_VERSION) and Cask
3535
- make -f emacs-travis.mk install_emacs
3636
- make -f emacs-travis.mk install_cask
37-
- sudo apt-get install -y fsharp mono-xbuild
37+
- travis_retry sudo apt-get install -y fsharp mono-xbuild
3838

3939
script:
4040
- make test-all

0 commit comments

Comments
 (0)