forked from STIXProject/python-stix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (35 loc) · 890 Bytes
/
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
[tox]
envlist = py27, py33, py34, py35, py36, lxml23, no-maec
[testenv]
commands =
nosetests stix
# NOTE: python-stix does not have any doctests
# sphinx-build -b doctest docs docs/_build/doctest
sphinx-build -b html docs docs/_build/html
deps =
-rrequirements.txt
# We call this "lxml23" instead of "rhel6", since RHEL6 ships with LXML 2.2.3.
# python-stix requires at least 2.3.
[testenv:lxml23]
basepython=python2.7
commands =
nosetests stix
deps =
# Pin specific versions of LXML and python-dateutil
lxml==2.3
python-dateutil==1.4.1
-rrequirements.txt
# Test the behavior when MAEC is not installed in the environment.
[testenv:no-maec]
commands =
nosetests stix
deps =
nose==1.3.7
tox==2.7.0
[travis]
python =
2.7: py27, docs, lxml23, no-maec
3.3: py33, no-maec
3.4: py34, no-maec
3.5: py35, no-maec
3.6: py36, no-maec