Add python 3.5 tox/travis tests

This commit is contained in:
Valentin Samir 2016-07-23 18:50:47 +02:00
parent 018a5951a2
commit df1d57bca1
2 changed files with 19 additions and 0 deletions

View File

@ -1,6 +1,8 @@
language: python language: python
python: python:
- "2.7" - "2.7"
- "3.4"
- "3.5"
env: env:
matrix: matrix:
- TOX_ENV=coverage - TOX_ENV=coverage
@ -12,6 +14,8 @@ env:
- TOX_ENV=py34-django17 - TOX_ENV=py34-django17
- TOX_ENV=py34-django18 - TOX_ENV=py34-django18
- TOX_ENV=py34-django19 - TOX_ENV=py34-django19
- TOX_ENV=py35-django18
- TOX_ENV=py35-django19
cache: cache:
directories: directories:
- $HOME/.cache/pip/http/ - $HOME/.cache/pip/http/

15
tox.ini
View File

@ -8,6 +8,8 @@ envlist=
py34-django17, py34-django17,
py34-django18, py34-django18,
py34-django19, py34-django19,
py35-django18,
py35-django19,
[flake8] [flake8]
max-line-length=100 max-line-length=100
@ -69,6 +71,19 @@ deps =
Django>=1.9,<1.10 Django>=1.9,<1.10
{[base]deps} {[base]deps}
[testenv:py35-django18]
basepython=python3.5
deps =
Django>=1.8,<1.9
{[base]deps}
[testenv:py35-django19]
basepython=python3.5
deps =
Django>=1.9,<1.10
{[base]deps}
[testenv:flake8] [testenv:flake8]
basepython=python basepython=python
deps=flake8 deps=flake8