forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Remove the need of using TRAVIS in env.
Since now we want to use production suites on Circle CI so there is no need to set TRAVIS in env while running scripts. CIRCLECI is set default in the enviroment of Circle CI builds so we can use it directly. Also Travis CI had rabbitmq-server installed so we had to add workaround in install script to avoid the error. That workaround is removed.
- Loading branch information
Showing
4 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,8 @@ if ! apt-get dist-upgrade -y "${APT_OPTIONS[@]}"; then | |
apt-get dist-upgrade -y "${APT_OPTIONS[@]}" | ||
fi | ||
|
||
# Disable existing rabbitmq node so we can change it | ||
service rabbitmq-server stop | ||
rm -rf /var/lib/rabbitmq/mnesia/ | ||
|
||
# Install Zulip | ||
env TRAVIS=1 "$ZULIP_PATH"/scripts/setup/install --self-signed-cert --hostname 127.0.0.1 --email [email protected] | ||
"$ZULIP_PATH"/scripts/setup/install --self-signed-cert --hostname 127.0.0.1 --email [email protected] | ||
|
||
cat >>/etc/zulip/settings.py <<EOF | ||
# Circle CI override settings above | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters