Skip to content

Commit

Permalink
Merge #145 (stop using ancient pip versions).
Browse files Browse the repository at this point in the history
  • Loading branch information
martey committed Jan 25, 2017
2 parents 192b62f + b765435 commit 9e75434
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env: >
DJANGO_SETTINGS_MODULE="conf_site.settings.travis-ci"
before_install:
- psql -c 'create database travis;' -U postgres
- "pip install --upgrade pip"
install:
- "pip install -r requirements/travis-ci.txt"
script:
Expand Down
9 changes: 7 additions & 2 deletions ansible/roles/web/tasks/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,14 @@
path={{ virtualenv_root }}/current
src={{ virtualenv_root }}/{{ git_status.stdout }}

- name: install latest version of pip
shell: "{{ virtualenv_root }}/current/bin/pip install --upgrade pip"

- name: update virtualenv with requirements
pip: requirements={{ project_root }}/requirements/{{ environment_type }}.txt
virtualenv={{ virtualenv_root }}/current
shell: >
"{{ virtualenv_root }}/current/bin/pip"
install -r {{ project_root }}/requirements/{{ environment_type }}.txt
--upgrade
notify: restart gunicorn

- name: add supervisor configuration file for gunicorn
Expand Down
2 changes: 0 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ pinax-eventlog==1.1.2
pip==9.0.1
psycopg2==2.6.2
pytz==2016.6.1
setuptools==34.0.2
six==1.10.0
unicodecsv==0.14.1
wagtail==1.8
wagtailmenus==2.1.2
Expand Down

0 comments on commit 9e75434

Please sign in to comment.