From dd9145d650be6ecd6f66ff2636ef5d3322505444 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 31 Mar 2016 21:26:44 +0200 Subject: [PATCH] travis: Remove sources.list patching again Turns out the other mirrors aren't really more stable either. --- scripts/dev/ci/install.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/dev/ci/install.py b/scripts/dev/ci/install.py index 4f08ea502..e53a5bddd 100644 --- a/scripts/dev/ci/install.py +++ b/scripts/dev/ci/install.py @@ -68,12 +68,6 @@ def folded_cmd(argv): subprocess.check_call(argv) -def fix_sources_list(): - """The mirror used by Travis has trouble a lot, so switch to another.""" - subprocess.check_call(['sudo', 'sed', '-i', r's/us-central1\.gce/us/', - '/etc/apt/sources.list']) - - def apt_get(args): folded_cmd(['sudo', 'apt-get', '-y', '-q'] + args) @@ -132,12 +126,10 @@ elif TRAVIS_OS == 'linux': pkgs += ['asciidoc'] if pkgs: - fix_sources_list() apt_get(['update']) apt_get(['install'] + pkgs) if TESTENV == 'flake8': - fix_sources_list() apt_get(['update']) # We need an up-to-date Python because of: # https://github.com/google/yapf/issues/46