-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
48 lines (41 loc) · 1.24 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright Collab 2013-2017
# See LICENSE for details.
#
# Tox (https://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on the specified python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
{py27}-django-{17,18,19}
{py34,py35,py36}-django-{18,19,110,111}
skipsdist = False
skip_missing_interpreters = True
[base]
deps = -egit+https://github.com/thijstriemstra/python-video-converter.git#egg=videoconverter
-r{toxinidir}/encode/tests/requirements.txt
[testenv]
commands =
flake8
coverage run --source=. --rcfile={toxinidir}/.coveragerc {envbindir}/django-admin.py test
coverage report --rcfile={toxinidir}/.coveragerc --show-missing
setenv =
DJANGO_SETTINGS_MODULE=encode.tests.settings
PYTHONPATH={toxinidir}
deps =
django-17: Django>=1.7,<1.8
django-18: Django>=1.8,<1.9
django-19: Django>=1.9,<1.10
django-110: Django>=1.10,<1.11
django-111: Django>=1.11,<2.0.0
{[base]deps}
[testenv:coveralls]
basepython = python2.7
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{[testenv]commands}
coveralls
deps =
Django>=1.11,<2.0.0
coveralls
{[base]deps}