forked from django-ckeditor/django-ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (46 loc) · 1.08 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
[tox]
skip_missing_interpreters=True
envlist=
py27-coverage-init
{py27,py34}-django{18,19,110,111}
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.2
Pillow==3.4.2
selenium==2.53.6
django19: Django>=1.9,<1.10
django18: Django>=1.8,<1.9
django110: Django>=1.10,<1.11
django111: Django>=1.11b1,<1.12
[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 ckeditor ckeditor_demo
deps =
isort