Travis: use xenial to try to fix gdal install

This commit is contained in:
Yohan Boniface 2019-04-07 13:47:33 +02:00
parent a9d19a153c
commit 00ed913909

View file

@ -1,15 +1,19 @@
dist: xenial sudo: false
language: python language: python
dist: xenial
python: python:
- "3.5" - "3.5"
- "3.6" - "3.6"
services: services:
- postgresql - postgresql
addons:
postgresql: "9.6"
apt:
packages:
- libgdal-dev
- postgresql-9.6-postgis-2.3
env: env:
- UMAP_SETTINGS=umap/tests/settings.py - UMAP_SETTINGS=umap/tests/settings.py
before_install:
- sudo apt-get install -y libgdal20
- gdal-config --version
install: install:
- pip install . - pip install .
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt