forked from oasis-open/cti-python-stix2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (35 loc) · 670 Bytes
/
tox.ini
File metadata and controls
42 lines (35 loc) · 670 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
[tox]
envlist = py26,py27,py33,py34,py35,py36,pycodestyle,isort-check
[testenv]
deps =
-U
tox
pytest
pytest-cov
coverage
commands =
py.test --cov=stix2 stix2/test/ --cov-report term-missing
passenv = CI TRAVIS TRAVIS_*
[testenv:pycodestyle]
deps =
flake8
pycodestyle
commands =
pycodestyle ./stix2
flake8 --max-line-length=160
[pycodestyle]
ignore=
max-line-length=160
[flake8]
max-line-length=160
[testenv:isort-check]
deps = isort
commands = isort -rc stix2 examples -c -df
[travis]
python =
2.6: py26
2.7: py27, pycodestyle
3.3: py33, pycodestyle
3.4: py34, pycodestyle
3.5: py35, pycodestyle
3.6: py36, pycodestyle