From 7584be26684082f03d864f3d074844e8d66cbb2b Mon Sep 17 00:00:00 2001 From: hillsp Date: Thu, 15 Sep 2016 16:23:11 -0400 Subject: [PATCH] Work-around broken GCE Ubuntu repo --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7ab237517..6935ec697 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,14 @@ language: c++ +# Remove broken repo, per: https://github.com/travis-ci/travis-ci/issues/6588 +# Undo this once the repo is fixed. +before_install: + - "sudo add-apt-repository --remove 'http://us-central1.gce.archive.ubuntu.com/ubuntu/ main restricted'" + - "sudo add-apt-repository --remove 'http://us-central1.gce.archive.ubuntu.com/ubuntu/ universe'" + - "sudo add-apt-repository --remove 'http://us-central1.gce.archive.ubuntu.com/ubuntu/ multiverse'" + - "sudo add-apt-repository http://archive.ubuntu.com/ubuntu/" + - "sudo add-apt-repository 'http://archive.ubuntu.com/ubuntu/ universe'" + - "sudo add-apt-repository 'http://archive.ubuntu.com/ubuntu/ multiverse'" + - "sudo apt-get -qq update" install: - sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/subversion18.list' - sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -