Skip to content

Commit

Permalink
Fixed test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Rama committed Mar 2, 2020
1 parent 857f8b4 commit 55e6d2d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ sudo: false
language: python

python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"

env:
- TOXENV=py27-django18-normal,py33-django18-normal
- TOXENV=py27-django18-custom,py33-django18-custom
- TOXENV=py27-django19-normal,py34-django19-normal
- TOXENV=py27-django19-custom,py34-django19-custom
- TOXENV=py27-django110-normal,py34-django110-normal,py35-django110-normal
- TOXENV=py27-django110-custom,py34-django110-custom,py35-django110-custom
- TOXENV=py34-django30-normal,py35-django30-normal,py36-django30-normal,py37-django30-normal
- TOXENV=py34-django30-custom,py35-django30-custom,py36-django30-custom,py37-django30-custom

cache:
directories:
Expand Down
12 changes: 5 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
[tox]
envlist = py{27,33}-django{18}-{normal,custom},py{27,34,35}-django{19,110}-{normal,custom},docs
envlist = py{34,35, 36, 37}-django{30}-{normal,custom},docs

[testenv]
commands = coverage run runtests.py
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
coverage>=4.2,<4.3
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
py27: mock>=1.0,<2.0
django30: Django>=3.0,<3.1
setenv =
custom: SWAPPED=1

[testenv:docs]
basepython = python2.7
basepython = python3.4
deps = Sphinx==1.1.3
commands =
{envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html

0 comments on commit 55e6d2d

Please sign in to comment.