forked from makinacorpus/django-geojson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (34 loc) · 1.01 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
language: python
python:
- 2.7
- 3.3
env:
- DJANGO_VERSION=1.4.10
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.6.1
before_install:
- sudo apt-get update > /dev/null
- sudo apt-get install -y python-software-properties
- sudo apt-add-repository -y ppa:ubuntugis/ppa
- sudo apt-get update > /dev/null
install:
- pip install jsonfield
- sudo apt-get install -y libgdal-dev libproj-dev libgeos-dev libspatialite-dev
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install git+git://github.com/tinio/pysqlite.git@extension-enabled#egg=pysqlite; fi
# This is a dependency of our Django test script
- pip install argparse --use-mirrors
- pip install -q Django==$DJANGO_VERSION --use-mirrors
- pip install coverage
- pip install flake8 --use-mirrors
- python setup.py develop
before_script:
- flake8 --ignore=E501 djgeojson
script:
- coverage run quicktest.py djgeojson
after_success:
- pip install coveralls
- coveralls
matrix:
exclude:
- python: 3.3
env: DJANGO_VERSION=1.4.10