Skip to content

Commit 000bff1

Browse files
committed
Fix for travis.
1 parent 5fbdfa0 commit 000bff1

File tree

2 files changed

+21
-26
lines changed

2 files changed

+21
-26
lines changed

.travis.yml

+21-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
sudo: false
22
language: python
33

4-
python:
5-
- "3.5"
6-
- "3.6"
7-
- "3.7"
8-
- "3.8"
9-
10-
env:
11-
- DJANGO="2.0"
12-
- DJANGO="2.1"
13-
- DJANGO="2.2"
14-
- DJANGO="3.0"
4+
matrix:
5+
include:
6+
- python: 3.5
7+
env: TOXENV=flake8
8+
- python: 3.5
9+
env: TOXENV=py35-django20
10+
- python: 3.7
11+
env: TOXENV=py37-django20
12+
- python: 3.5
13+
env: TOXENV=py35-django21
14+
- python: 3.7
15+
env: TOXENV=py37-django21
16+
- python: 3.5
17+
env: TOXENV=py35-django22
18+
- python: 3.8
19+
env: TOXENV=py38-django22
20+
- python: 3.6
21+
env: TOXENV=py36-django30
22+
- python: 3.8
23+
env: TOXENV=py38-django30
1524

1625
before_install:
1726
- pip install codecov
1827

1928
install:
20-
- pip install -U tox-travis
29+
- pip install tox
2130

2231
script: tox
2332

tox.ini

-14
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,3 @@ deps =
2323
[testenv:flake8]
2424
deps=flake8
2525
commands=flake8 qurl_templatetag tests
26-
27-
[travis]
28-
python =
29-
3.5: py35, flake8
30-
3.6: py36
31-
3.7: py37
32-
3.8: py38
33-
34-
[travis:env]
35-
DJANGO =
36-
2.0: django20
37-
2.1: django21
38-
2.2: django22
39-
3.0: django30

0 commit comments

Comments
 (0)