From 8fe269f836db358776f85d6bdfaf32a5f87fd1c3 Mon Sep 17 00:00:00 2001 From: John R Barker Date: Tue, 18 Oct 2016 13:53:57 +0100 Subject: [PATCH] Group "apt-get update" and "apt-get install" (#5283) * Group "apt-get update" and "apt-get install" Should speed up sanity * Run apt-get install in quiet mode --- lib/ansible/modules/test/utils/shippable/sanity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/test/utils/shippable/sanity.sh b/lib/ansible/modules/test/utils/shippable/sanity.sh index d9234cf052..cc0830faec 100755 --- a/lib/ansible/modules/test/utils/shippable/sanity.sh +++ b/lib/ansible/modules/test/utils/shippable/sanity.sh @@ -7,11 +7,11 @@ install_deps="${INSTALL_DEPS:-}" cd "${source_root}" if [ "${install_deps}" != "" ]; then - add-apt-repository ppa:fkrull/deadsnakes && apt-get update -qq && apt-get install python2.4 -qq - + add-apt-repository ppa:fkrull/deadsnakes apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty-backports universe' apt-get update -qq - apt-get install shellcheck + + apt-get install -qq shellcheck python2.4 pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing