forked from leetcode/django-ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
55 lines (49 loc) · 1.18 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
49
50
51
52
53
54
55
[tox]
skip_missing_interpreters=True
envlist=
py27-coverage-init
{py27,py34}-django{18,19,110,111}
py34-django20
py27-{lint,isort,coverage-report}
[testenv]
usedevelop=True
setenv=
DJANGO_SETTINGS_MODULE=ckeditor_demo.settings
# DISPLAY = :0
COVERAGE_FILE=.coverage.{envname}
passenv = LC_ALL LANG TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DISPLAY
changedir = {toxinidir}
commands= {envbindir}/coverage run manage.py test ckeditor_demo
deps=
coverage==4.3.4
django-js-asset==0.1.1
Pillow==4.1.0
selenium==3.4.0
django19: Django>=1.9,<1.10
django18: Django>=1.8,<1.9
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
[testenv:py27-coverage-init]
setenv =
COVERAGE_FILE = .coverage
commands =
coverage erase
deps =
coverage==4.2
[testenv:py27-coverage-report]
setenv =
COVERAGE_FILE = .coverage
commands=
coverage combine
coverage report -m
deps =
coverage==4.2
[testenv:py27-lint]
commands = {envbindir}/flake8
deps =
flake8
[testenv:py27-isort]
commands = {envbindir}/isort -vb --recursive --check-only --diff ckeditor ckeditor_demo ckeditor_uploader
deps =
isort