From: Dagfinn Ilmari Mannsåker Date: Thu, 2 Apr 2015 09:55:13 +0000 (+0100) Subject: (travis) Update package list before installing stuff X-Git-Tag: 0.07043~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdd6fc401769022b829bf00f5be55685d58df15e;p=dbsrgits%2FDBIx-Class-Schema-Loader.git (travis) Update package list before installing stuff --- diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index 3e1a680..374ed6e 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -49,6 +49,8 @@ export SCHEMA_LOADER_TESTS_BACKCOMPAT=1 # these will be installed no matter what, also some extras unless CLEANTEST common_packages="libapp-nopaste-perl tree" +run_or_err "Updating APT package lists" "sudo apt-get update" + if [[ "$CLEANTEST" = "true" ]]; then apt_install $common_packages