cti-python-stix2/tox.ini

39 lines
632 B
INI
Raw Normal View History

2017-02-02 17:28:16 +01:00
[tox]
envlist = py35,py36,py37,py38,packaging,pre-commit-check
2017-02-02 17:28:16 +01:00
[testenv]
2017-04-18 10:48:04 +02:00
deps =
2018-04-06 20:25:06 +02:00
-U
tox
pytest
pytest-cov
coverage
2020-04-03 21:58:56 +02:00
taxii2-client
2020-03-23 02:16:36 +01:00
rapidfuzz
haversine
2020-04-03 21:58:56 +02:00
medallion
2017-04-18 10:48:04 +02:00
commands =
python -m pytest --cov=stix2 stix2/test/ --cov-report term-missing -W ignore::stix2.exceptions.STIXDeprecationWarning
2017-04-18 10:48:04 +02:00
passenv = GITHUB_*
2018-04-06 20:25:06 +02:00
2018-05-02 19:37:44 +02:00
[testenv:packaging]
deps =
2019-08-12 18:28:27 +02:00
twine
2018-05-02 19:37:44 +02:00
commands =
python setup.py sdist bdist_wheel --universal
2019-08-12 18:28:27 +02:00
twine check dist/*
2018-05-02 19:37:44 +02:00
[testenv:pre-commit-check]
deps =
pre-commit
commands =
pre-commit run --all-files
[gh-actions]
2017-02-02 17:28:16 +01:00
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38, packaging, pre-commit-check