forked from erdem/django-map-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (41 loc) · 963 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
dist: xenial
language: python
python:
- 2.7
- 3.8
env:
- DJANGO_VERSION=1.11
- DJANGO_VERSION=2.0
- DJANGO_VERSION=2.1
- DJANGO_VERSION=2.2
- DJANGO_VERSION=3.0
- DJANGO_VERSION=3.1
matrix:
exclude:
- python: 2.7
env: DJANGO_VERSION=2.0
- python: 2.7
env: DJANGO_VERSION=2.1
- python: 2.7
env: DJANGO_VERSION=2.2
- python: 2.7
env: DJANGO_VERSION=3.0
- python: 2.7
env: DJANGO_VERSION=3.1
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update
- sudo apt-get install -y libgdal-dev libhdf5-serial-dev
install:
- pip install -r conf/requirements-dev.txt
before_script:
- psql -U postgres -c "create extension postgis"
script:
- coverage run --source='mapwidgets' tests/testapp/manage.py test
after_success:
- coveralls
addons:
postgresql: "9.6"
apt:
packages:
- postgresql-9.6-postgis-2.4