Add tox checks for README.

stix2.0
Greg Back 2018-05-02 12:37:44 -05:00
parent 102623b29a
commit 3f80c07342
1 changed files with 8 additions and 2 deletions

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27,py34,py35,py36,style,isort-check envlist = py27,py34,py35,py36,style,isort-check,packaging
[testenv] [testenv]
deps = deps =
@ -31,9 +31,15 @@ commands =
isort -rc stix2 examples -df isort -rc stix2 examples -df
isort -rc stix2 examples -c isort -rc stix2 examples -c
[testenv:packaging]
deps =
readme_renderer
commands =
python setup.py check -r -s
[travis] [travis]
python = python =
2.7: py27, style 2.7: py27, style
3.4: py34, style 3.4: py34, style
3.5: py35, style 3.5: py35, style
3.6: py36, style 3.6: py36, style, packaging