From: Peter Rabbitson Date: Sat, 28 Feb 2015 15:57:39 +0000 (+0100) Subject: (travis) Update apt cache when doing a large set of installs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=94464be8b3f61c8af90d20c8bb6135fb58422875;p=dbsrgits%2FDBIx-Class.git (travis) Update apt cache when doing a large set of installs Started failing without it: https://s3.amazonaws.com/archive.travis-ci.org/jobs/52536716/log.txt --- diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index 1f004ab..63b5534 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -60,6 +60,7 @@ 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' + 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 run_or_err "Cloning poor man's cache from github" "git clone --depth=1 --single-branch --branch=oracle/10.2.0 https://github.com/poortravis/poormanscache.git $CACHE_DIR && $CACHE_DIR/reassemble"