From: Peter Rabbitson Date: Sat, 28 Mar 2015 07:22:48 +0000 (+0100) Subject: (travis) Cut down the amount of APT repos during updates X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d50f2fe1a98926f0e9bd8a1f48eb2fd6acd1348a;p=dbsrgits%2FDBIx-Class.git (travis) Cut down the amount of APT repos during updates Sometimes things outside of ubuntu's control go down, and the entire smoke will crash and burn for reasons completely unrelated to what we are doing --- diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index 356c17c..1b03580 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -60,6 +60,9 @@ else sudo bash -c 'echo -e "firebird2.5-super\tshared/firebird/enabled\tboolean\ttrue" | debconf-set-selections' sudo bash -c 'echo -e "firebird2.5-super\tshared/firebird/sysdba_password/new_password\tpassword\t123" | debconf-set-selections' + # these APT sources do not mean anything to us anyway + sudo rm -rf /etc/apt/sources.list.d/* + run_or_err "Updating APT sources" "sudo apt-get update" apt_install $common_packages libmysqlclient-dev memcached firebird2.5-super firebird2.5-dev unixodbc-dev expect