Skip to content

Commit ad92cec

Browse files
halfdaninglesp
authored andcommitted
Also test on Python 3.6 and 3.7
1 parent 4a3ea82 commit ad92cec

File tree

3 files changed

+30
-16
lines changed

3 files changed

+30
-16
lines changed

.travis.yml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
language: python
2-
3-
python:
4-
- "3.5"
5-
62
sudo: false
73

8-
env:
9-
- TOX_ENV=py27-flake8
10-
- TOX_ENV=py27
11-
- TOX_ENV=py34
12-
- TOX_ENV=py35
13-
144
install:
15-
- pip install tox
5+
- pip install tox
6+
7+
matrix:
8+
include:
9+
- python: 2.7
10+
env: TOXENV=py27
11+
- python: 3.4
12+
env: TOXENV=py34
13+
- python: 3.5
14+
env: TOXENV=py35
15+
- python: 3.6
16+
env: TOXENV=py36
17+
- python: 3.7
18+
env: TOXENV=py37
19+
- python: 3.7
20+
env: TOXENV=flake8
1621

1722
script:
18-
- tox -e $TOX_ENV
23+
- tox
24+
25+
cache:
26+
directories:
27+
- $HOME/.cache/pip
28+
- .tox

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ django-dotenv
99
Original implementation was written by
1010
`@jacobian <https://github.com/jacobian>`__.
1111

12-
Tested on Python 2.7, 3.3, 3.4, and 3.5.
12+
Tested on Python 2.7, 3.4, 3.5, 3.6, and 3.7.
1313

1414
Installation
1515
------------

tox.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
[tox]
22
envlist =
3-
py27-flake8,
4-
py27, py32, py34, py35
3+
flake8,
4+
py27,
5+
py34,
6+
py35,
7+
py36,
8+
py37,
59

610
[testenv]
711
commands = python setup.py test
812

9-
[testenv:py27-flake8]
13+
[testenv:flake8]
1014
deps = flake8==2.4.0
1115
commands = flake8 dotenv.py --verbose

0 commit comments

Comments
 (0)