Work-around broken GCE Ubuntu repo

This commit is contained in:
hillsp
2016-09-15 16:23:11 -04:00
committed by GitHub
parent c8f8aff23f
commit 7584be2668
+10
View File
@@ -1,4 +1,14 @@
language: c++ 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: install:
- sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/subversion18.list' - 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 - - sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -