Skip to content

Commit

Permalink
Try to fix Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Sep 18, 2020
1 parent 8e03b07 commit 6f1b9eb
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
@@ -1,15 +1,24 @@
os: linux
dist: focal
language: python
python:
- 3.6
addons:
postgresql: "9.4"
apt:
packages:
- libgdal-dev
- postgresql-12-postgis-3
- postgresql-12-postgis-3-scripts
before_script:
- psql -U postgres -c "create extension postgis"
- psql -c 'create database testdb' -U postgres
services:
- mysql
sudo: false
- postgresql
env:
- DEBUG=1 DATABASE_URL=sqlite:///tmp/ir-{envname}.sqlite3
- DEBUG=1 DATABASE_URL=mysql://travis:@localhost/ir
- DEBUG=1
- DEBUG=1 DATABASE_URL=postgis://postgres:@testdb:5432/postgres
cache:
directories:
- $HOME/.cache/pip
Expand Down

0 comments on commit 6f1b9eb

Please sign in to comment.