forked from open-craft/problem-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
24 lines (22 loc) · 790 Bytes
/
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
[tox]
envlist = py27-django111-unit,py27-django111-integration,pep8,pylint,i18n
[pycodestyle]
max-line-length = 120
exclude = problem_builder/migrations
[testenv]
whitelist_externals =
/usr/bin/xvfb-run
/usr/bin/make
usedevelop = true
deps =
py27: django111: Django>=1.11,<2.0
py27: -e xblock-sdk
py27: -r test_requirements.txt
pylint: pylint
quality: pycodestyle
commands =
unit: xvfb-run -a --server-args=-ac -e /dev/stdout coverage run run_tests.py {posargs:problem_builder/v1/tests problem_builder/tests/unit}
integration: xvfb-run -a --server-args=-ac -e /dev/stdout coverage run run_tests.py {posargs:problem_builder/tests/integration}
pep8: pycodestyle problem_builder
pylint: pylint problem_builder
i18n: make validate_translations