No need to install prereqs twice on circleci.com

This commit is contained in:
Jesse Zoldak
2015-08-06 10:48:39 -04:00
parent df936837ae
commit f8766891f0
2 changed files with 8 additions and 0 deletions

View File

@@ -11,6 +11,10 @@ from .utils.envs import Env
PREREQS_MD5_DIR = os.getenv('PREREQ_CACHE_DIR', Env.REPO_ROOT / '.prereqs_cache')
NPM_REGISTRY = "http://registry.npmjs.org/"
# If you make any changes to this list you also need to make
# a corresponding change to circle.yml, which is how the python
# prerequisites are installed for builds on circleci.com
PYTHON_REQ_FILES = [
'requirements/edx/pre.txt',
'requirements/edx/github.txt',

View File

@@ -25,6 +25,10 @@ set -e
# piped command, or a zero if they all succeed.
set -o pipefail
# There is no need to install the prereqs, as this was already
# just done via the dependencies override section of circle.yml.
export NO_PREREQ_INSTALL='true'
EXIT=0
case $CIRCLE_NODE_INDEX in