forked from makinacorpus/django-geojson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (51 loc) · 1.2 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
dist: xenial
sudo: required
language: python
python:
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
addons:
apt:
sources:
- sourceline: ppa:ubuntugis/ppa
packages:
- gdal-bin
- libgdal-dev
- libproj-dev
- spatialite-bin
- python3-dev
- libsqlite3-mod-spatialite
env:
- DJANGO_VERSION=2.0.13
- DJANGO_VERSION=2.1.15
- DJANGO_VERSION=2.2.10
- DJANGO_VERSION=3.0.3
install:
# This is a dependency of our Django test script
- CPLUS_INCLUDE_PATH=/usr/include/gdal C_INCLUDE_PATH=/usr/include/gdal CFLAGS=-I/usr/include/gdal pip install GDAL==2.2.4
- pip install jsonfield Django==$DJANGO_VERSION
- pip install coverage coveralls argparse flake8
- python setup.py develop
before_script:
- flake8 --ignore=E501,W504 djgeojson
script:
- coverage run quicktest.py djgeojson
after_success:
- coveralls
matrix:
exclude:
- python: 3.4
env: DJANGO_VERSION=2.1.15
- python: 3.4
env: DJANGO_VERSION=2.2.10
- python: 3.4
env: DJANGO_VERSION=3.0.3
- python: 3.5
env: DJANGO_VERSION=3.0.3
- python: 3.8
env: DJANGO_VERSION=2.0.13
- python: 3.8
env: DJANGO_VERSION=2.1.15