Skip to content

Commit

Permalink
Add python versions for travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
pricco committed Apr 22, 2020
1 parent 7b90b9b commit 74a4b59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ env:

language: python

python: 3.5
python:
- 3.5
- 3.6
- 3.7
- 3.8

before_install:
- pip install codecov
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ envlist =
{py35,py38}-django22
{py36,py38}-django30

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 qurl_templatetag tests

[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
setenv =
Expand All @@ -24,3 +19,8 @@ deps =
django22: Django>=2.2,<3.0
django30: Django>=3.0
-r{toxinidir}/requirements/test.pip

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 qurl_templatetag tests

0 comments on commit 74a4b59

Please sign in to comment.