forked from CybOXProject/python-cybox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (28 loc) · 676 Bytes
/
tox.ini
File metadata and controls
32 lines (28 loc) · 676 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
[tox]
envlist = py26, py27, py33, py34, py35, py36, rhel6, docs
[testenv]
commands =
nosetests cybox
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs {envtmpdir}/doctest
deps = -rrequirements.txt
[testenv:rhel6]
basepython=python2.6
commands =
nosetests cybox --exclude=ciq_test.py
# Pin specific versions of LXML and python-dateutil which match what is on RHEL6
deps =
lxml==2.2.3
python-dateutil==1.4.1
nose==1.3.7
[testenv:docs]
basepython=python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[travis]
python =
2.6: py26, rhel6
2.7: py27, docs
3.3: py33
3.4: py34
3.5: py35
3.6: py36