Skip to content

Commit

Permalink
fix tox psycopg2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagaro committed Oct 15, 2019
1 parent 07f56a8 commit 2205b46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ install:
- sudo apt-get install -y libproj-dev libgeos-dev

- if [[ $DATABASE == sqlite ]]; then sudo apt-get install -y libspatialite-dev libsqlite3-mod-spatialite; fi
- if [ $DATABASE == sqlite ] && [ $TRAVIS_PYTHON_VERSION == 2.7 ]; then pip install pysqlite==2.8.3; fi
- if [[ $DATABASE == postgres ]]; then pip install psycopg2-binary; fi

- pip install tox tox-travis flake8
- npm install leaflet/tests/
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ deps =
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
postgres: psycopg2-binary
argparse
coverage
passenv = DATABASE
Expand All @@ -33,3 +34,6 @@ DJANGO =
2.0: django20
2.1: django21
master: djangomaster

DATABASE =
postgres: postgres

0 comments on commit 2205b46

Please sign in to comment.