mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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.
This commit is contained in:
@@ -38,7 +38,7 @@ if [ "$failed" -ne 0 ]; then
|
||||
echo "* Logs are here: zulip/var/log/provision.log"
|
||||
echo -e "$ENDC"
|
||||
exit "$failed"
|
||||
elif [ "$VIRTUAL_ENV" != "/srv/zulip-py3-venv" ] && [ -z "${TRAVIS}${SKIP_VENV_SHELL_WARNING}" ]; then
|
||||
elif [ "$VIRTUAL_ENV" != "/srv/zulip-py3-venv" ] && [ -z "${CIRCLECI}${SKIP_VENV_SHELL_WARNING}" ]; then
|
||||
echo -e "$WARNING"
|
||||
echo "WARNING: This shell does not have the Zulip Python 3 virtualenv activated."
|
||||
echo "Zulip commands will fail until you activate the virtualenv."
|
||||
|
Reference in New Issue
Block a user