mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
travis: Workaround postgres 9.1 conflict issues on trusty.
We ran into a bug with the Travis CI infrastructure where it postgres 9.1 is installed on the system, and so when we'd do an apt upgrade with a new version of 9.1, the 9.1 daemon would end up getting started and conflict with the 9.3 daemon we were trying to run.
This commit is contained in:
parent
e7353902df
commit
a98b0cf35d
@ -10,6 +10,14 @@ tar -xf zulip-server-travis.tar.gz
|
||||
mv zulip-server-travis /root/zulip
|
||||
|
||||
export APT_OPTIONS="-o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold"
|
||||
|
||||
# Make sure we've done an apt upgrade and then stop postgres to
|
||||
# workaround problems with Travis CI having multiple postgres versions
|
||||
# installed on the system and 9.1 starting up and conflicting with
|
||||
# running 9.3 later.
|
||||
apt-get upgrade -y $APT_OPTIONS
|
||||
service postgresql stop
|
||||
# Install Zulip
|
||||
/root/zulip/scripts/setup/install
|
||||
|
||||
cat >>/etc/zulip/settings.py <<EOF
|
||||
|
||||
Loading…
Reference in New Issue
Block a user