-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
97 lines (85 loc) · 1.77 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[tox]
envlist =
csslint
eslint
py36
pycodestyle
pylint
[testenv]
deps =
coverage
commands =
coverage run manage.py test
coverage report
coverage html
[testenv:clean]
commands =
coverage erase
skip_install = True
[testenv:csslint]
whitelist_externals = {toxinidir}/node_modules/csslint/dist/cli.js
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{toxinidir}/node_modules/csslint/dist/cli.js sql_grader/static/
deps =
skip_install = True
[testenv:eslint]
whitelist_externals = {toxinidir}/node_modules/eslint/bin/eslint.js
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{toxinidir}/node_modules/eslint/bin/eslint.js sql_grader/static/view.js
deps =
skip_install = True
[testenv:pycodestyle]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
pycodestyle
commands =
pycodestyle sql_grader/
[testenv:pylint]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
pylint
commands =
pylint sql_grader/
[testenv:translations_push]
deps =
transifex-client
commands =
tx push -s
[testenv:translations_pull]
deps =
edx-i18n-tools==0.4.8
transifex-client
commands =
cd sql_grader && i18n_tool transifex pull
whitelist_externals =
cd
[testenv:translations_compile]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool generate
whitelist_externals =
cd
[testenv:translations_dummy]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool dummy
whitelist_externals =
cd
[testenv:translations_detect_changed]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool changed
whitelist_externals =
cd
[testenv:translations_extract]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool extract
whitelist_externals =
cd