mirror of https://github.com/zulip/zulip.git
travis: Do an apt-get update before the apt upgrade.
This should save several minutes off the Travis CI `production` suite's runtime, since previously we were doing the full apt upgrade process twice, resulting in things like multiple expensive rebuilds of the initramfs.
This commit is contained in:
parent
27f12b2de3
commit
79327a61ae
|
@ -11,6 +11,7 @@ mv zulip-server-travis /root/zulip
|
|||
|
||||
# Do an apt upgrade to start with an up-to-date machine
|
||||
export APT_OPTIONS="-o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold"
|
||||
apt-get update
|
||||
apt-get upgrade -y $APT_OPTIONS
|
||||
# Install Zulip
|
||||
/root/zulip/scripts/setup/install
|
||||
|
|
Loading…
Reference in New Issue