forked from django-tastypie/django-tastypie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (46 loc) · 925 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
51
52
53
54
55
56
sudo: false
language: python
python:
- "2.7"
- "3.4"
env:
- MODE=flake8
- MODE=flake8-strict
- MODE=docs
- DJANGO_VERSION=dj17
- DJANGO_VERSION=dj18
- DJANGO_VERSION=dj19
- DJANGO_VERSION=djdev
matrix:
allow_failures:
- env: DJANGO_VERSION=djdev
- env: MODE=flake8-strict
exclude:
- python: "3.4"
env: MODE=flake8
- python: "3.4"
env: MODE=flake8-strict
addons:
apt:
packages:
- binutils
- libproj-dev
- gdal-bin
- spatialite-bin
- libspatialite-dev
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
# command to install dependencies
install:
- pip install -U pip
- pip install -U wheel virtualenv
- pip install tox coveralls
after_success:
- coveralls
# command to run tests
script:
- coverage erase
- tox -e py${TRAVIS_PYTHON_VERSION/./}-${DJANGO_VERSION}${MODE}