Repository: cloudstack Updated Branches: refs/heads/master 7670ce0e6 -> a2e65ac28
CLOUDSTACK-9584: Fix Travis to cleanup apt repo before pkg installation This fixes an env issue that cleans apt repo pkg/cache, before installing new packages. Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7da42315 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7da42315 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7da42315 Branch: refs/heads/master Commit: 7da423157bad8ceb8dbf6ca17f19ec3e9fdc7403 Parents: b57d0ae Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Fri Dec 2 22:20:28 2016 +0530 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Fri Dec 2 22:21:06 2016 +0530 ---------------------------------------------------------------------- tools/travis/before_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7da42315/tools/travis/before_install.sh ---------------------------------------------------------------------- diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh index b90a099..22521e9 100755 --- a/tools/travis/before_install.sh +++ b/tools/travis/before_install.sh @@ -62,7 +62,8 @@ echo -e "\nCleaning up stale files in /tmp: " sudo find /tmp -type f -mtime +2 | grep -v "`sudo lsof | grep /tmp |awk '{print $9}'|sed -e '1 d' |sort |uniq | tr \\n \|`" | xargs sudo rm -vf echo -e "\nUpdating the system: " -sudo apt-get -q -y update > /dev/null +sudo apt-get -y clean +sudo apt-get -y update > /dev/null echo -e "\nInstalling MySQL: "