Skip to content

Commit

Permalink
Stop testing PostGIS
Browse files Browse the repository at this point in the history
Travis fails to install that
  • Loading branch information
Suor committed Jun 19, 2020
1 parent 9ecf925 commit 83bafd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ services:
- redis
- postgresql
- mysql
addons:
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-10-postgis-2.4
- libgdal-dev
# addons:
# postgresql: "10"
# apt:
# packages:
# - postgresql-10
# - postgresql-10-postgis-2.4
# - libgdal-dev

python:
- 3.5
Expand Down Expand Up @@ -43,9 +43,9 @@ install:
- pip install tox-travis
before_script:
# check gis
- gdal-config --version
- gdal-config --cflags
- psql -U postgres -c "create extension postgis"
# - gdal-config --version
# - gdal-config --cflags
# - psql -U postgres -c "create extension postgis"
# set up postgresql
- psql -U postgres -c "create role cacheops login superuser"
# postgis django backend requires these to exist
Expand All @@ -57,4 +57,5 @@ before_script:
- mysql -e "create database cacheops"
- mysql -e "create database cacheops_slave"
script:
- GDAL_VERSION=`gdal-config --version` tox
# - GDAL_VERSION=`gdal-config --version` tox
- tox
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ deps =
djmaster: git+https://github.com/django/django
mysqlclient
py{35,36,37,38}: psycopg2
gdal=={env:GDAL_VERSION:2.4}
; gdal=={env:GDAL_VERSION:2.4}
pypy3: psycopg2cffi>=2.7.6
before_after==1.0.0
jinja2>=2.10
Expand All @@ -40,7 +40,7 @@ commands =
env CACHEOPS_LRU=1 ./run_tests.py []
env CACHEOPS_DB=mysql ./run_tests.py []
env CACHEOPS_DB=postgresql ./run_tests.py []
env CACHEOPS_DB=postgis ./run_tests.py []
; env CACHEOPS_DB=postgis ./run_tests.py []
; Test invalidate command
./manage.py invalidate tests.post
./manage.py invalidate tests
Expand Down

0 comments on commit 83bafd4

Please sign in to comment.