Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
try and fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SanketDG committed Jul 21, 2020
1 parent faa6828 commit 9c0fab0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
sudo: true
language: python
dist: bionic
env:
- MOZ_HEADLESS=1

Expand All @@ -11,6 +12,8 @@ services:

python:
- "3.6"
- "3.7"
- "3.8"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-linux64.tar.gz
- tar -xzvf geckodriver-v0.20.1-linux64.tar.gz
Expand Down
22 changes: 11 additions & 11 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
-r prod.txt
Sphinx==1.6.5
coverage==4.4.1
django-nose==1.4.5
Sphinx==3.1.2
coverage==5.2
django-nose==1.4.6
flake8==3.8.3
sphinx-rtd-theme==0.2.4
pylint==1.9.0
pytest==3.5.1
pytest-cov==2.5.1
pytest-django==3.2.1
pytest-pylint==0.9.0
selenium==3.12.0
sphinx-rtd-theme==0.5.0
pylint==2.5.3
pytest==5.4.3
pytest-cov==2.10.0
pytest-django==3.9.0
pytest-pylint==0.17.0
selenium==3.141.0
djangorestframework==3.11.0
geopy==1.15.0
geopy==2.0.0
pinax-notifications==6.0.0
7 changes: 3 additions & 4 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ django-cities-light==3.6.0
django-ckeditor==5.9.0
django-crispy-forms==1.9.2
django-guardian==2.3.0
django-imagekit==4.0.1
psycopg2==2.7.3.2
python3-openid==3.1.0
django-imagekit==4.0.2
psycopg2==2.8.5
python3-openid==3.2.0
geoip2==3.0.0
django-ipware==3.0.0

2 changes: 1 addition & 1 deletion systers_portal/meetup/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def post(self, request):
unit = ''
for meetup in searched_meetups:
distance = ''
geolocator = Nominatim(timeout=6)
geolocator = Nominatim(user_agent="Anita-B Portal", timeout=6)
g = GeoIP2()
if location == "Current Location":
client_ip, is_routable = get_client_ip(request)
Expand Down

0 comments on commit 9c0fab0

Please sign in to comment.