-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
49 lines (41 loc) · 801 Bytes
/
tox.ini
File metadata and controls
49 lines (41 loc) · 801 Bytes
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
[tox]
envlist = py36,py37,pep8
skipsdist = true
# This env is for common settings across all tests envs
[testenv:prep]
# Preparation command to install all development and testing
# dependencies before run actual command.
commands = make install-dev
[testenv]
basepython = python3
passenv =
SETTINGS_PATH
FLASK_ENV
DEBUG
TESTING
FLASK_APP
commands =
{[testenv:prep]commands}
make test-unit
whitelist_externals =
make
[testenv:py36]
basepython = python3.6
[testenv:py37]
basepython = python3.7
[testenv:integration]
commands =
{[testenv:prep]commands}
make test-integration
[testenv:pep8]
commands =
{[testenv:prep]commands}
make lint
[testenv:cover]
commands =
{[testenv:prep]commands}
make coverage
[testenv:docs]
commands =
{[testenv:prep]commands}
make docs