-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (58 loc) · 1.69 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
62
63
language: python
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
matrix:
include:
# py27
- python: 2.7
env: TOX_ENV=py27-django18, DJANGO_VERSION=1.8.19
- python: 2.7
env: TOX_ENV=py27-django19, DJANGO_VERSION=1.9.13
- python: 2.7
env: TOX_ENV=py27-django110, DJANGO_VERSION=1.10.8
- python: 2.7
env: TOX_ENV=py27-django111, DJANGO_VERSION=1.11.20
# py34
- python: 3.4
env: TOX_ENV=py34-django111, DJANGO_VERSION=1.11.20
- python: 3.4
env: TOX_ENV=py34-django20, DJANGO_VERSION=2.0.13
# py35
- python: 3.5
env: TOX_ENV=py35-django111, DJANGO_VERSION=1.11.20
- python: 3.5
env: TOX_ENV=py35-django20, DJANGO_VERSION=2.0.13
- python: 3.5
env: TOX_ENV=py35-django21, DJANGO_VERSION=2.1.7
# py36
- python: 3.6
env: TOX_ENV=py36-django111, DJANGO_VERSION=1.11.20
- python: 3.6
env: TOX_ENV=py36-django20, DJANGO_VERSION=2.0.13
- python: 3.6
env: TOX_ENV=py36-django21, DJANGO_VERSION=2.1.7
# py37
- python: 3.7
dist: xenial
sudo: true
env: TOX_ENV=py37-django111, DJANGO_VERSION=1.11.20
- python: 3.7
dist: xenial
sudo: true
env: TOX_ENV=py37-django20, DJANGO_VERSION=2.0.13
- python: 3.7
dist: xenial
sudo: true
env: TOX_ENV=py37-django21, DJANGO_VERSION=2.1.7
script: tox -e $TOX_ENV
install:
- pip install pip setuptools wheel -U
- pip install -q Django==$DJANGO_VERSION
- python setup.py -q install
- pip install coveralls
- pip install tox
after_success:
- coveralls