forked from mozilla/addons-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (39 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
[tox]
envlist = es, addons-devhub-editors, main, flake8, docs, assets
[testenv]
basepython = python2.7
install_command = pip install --no-deps --exists-action=w --find-links https://pyrepo.stage.mozaws.net/wheelhouse/ --find-links https://pyrepo.stage.mozaws.net/ --no-index {opts} {packages}
setenv =
PYTHONPATH=apps
whitelist_externals =
make
npm
[base]
deps =
-rrequirements/dev.txt
[testenv:es]
deps = {[base]deps}
commands =
py.test -m es_tests -v {posargs}
[testenv:addons-devhub-editors]
deps = {[base]deps}
commands =
py.test --create-db -n 3 -m 'not es_tests' -v apps/addons/ apps/devhub/ apps/editors/ {posargs}
[testenv:main]
deps = {[base]deps}
commands =
py.test --create-db -n 3 -m 'not es_tests' -v --ignore apps/addons/ --ignore apps/devhub/ --ignore apps/editors/ {posargs}
[testenv:assets]
deps = {[base]deps}
commands =
npm install
make update_assets
[testenv:flake8]
deps =
-rrequirements/flake8.txt
commands = make flake8
[testenv:docs]
deps =
-rrequirements/compiled.txt
-rrequirements/docs.txt
commands = make docs SPHINXOPTS='-nW'