Commit e8214a1d by Feanil Patel

Wipe existing version when replacing.

CircleCI re-uses your existing venv cache.  If we don't do this, it will prompt the user for what to do and hang the build on certain kinds of updates.
parent d4f2fe12
...@@ -13,23 +13,23 @@ dependencies: ...@@ -13,23 +13,23 @@ dependencies:
- bundle install - bundle install
- pip install setuptools - pip install setuptools
- pip install -r requirements/edx/paver.txt - pip install --exists-action w -r requirements/edx/paver.txt
# Mirror what paver install_prereqs does. # Mirror what paver install_prereqs does.
# After a successful build, CircleCI will # After a successful build, CircleCI will
# cache the virtualenv at that state, so that # cache the virtualenv at that state, so that
# the next build will not need to install them # the next build will not need to install them
# from scratch again. # from scratch again.
- pip install -r requirements/edx/pre.txt - pip install --exists-action w -r requirements/edx/pre.txt
- pip install -r requirements/edx/github.txt - pip install --exists-action w -r requirements/edx/github.txt
- pip install -r requirements/edx/local.txt - pip install --exists-action w -r requirements/edx/local.txt
# HACK: within base.txt stevedore had a # HACK: within base.txt stevedore had a
# dependency on a version range of pbr. # dependency on a version range of pbr.
# Install a version which falls within that range. # Install a version which falls within that range.
- pip install pbr==0.9.0 - pip install --exists-action w pbr==0.9.0
- pip install -r requirements/edx/base.txt - pip install --exists-action w -r requirements/edx/base.txt
- if [ -e requirements/edx/post.txt ]; then pip install -r requirements/edx/post.txt ; fi - if [ -e requirements/edx/post.txt ]; then pip install --exists-action w -r requirements/edx/post.txt ; fi
- pip install coveralls==1.0 - pip install coveralls==1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment