forked from hastexo/hastexo-xblock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (28 loc) · 762 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
# XBlock 1.0.0+ supports Python 3, but the XBlock SDK / Workbench does not (yet).
#
# Until that is fixed, run tests on Python 3.5 but ignore errors.
[tox]
envlist = py{27,35}-xblock{10,11,12},flake8
[travis]
python =
2.7: py27-xblock{10,11,12},flake8
3.5: py35-xblock{10,11,12},flake8
[flake8]
ignore = E124
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,build,dist,src
[testenv]
deps =
-rrequirements/test.txt
xblock10: XBlock==1.0.0
xblock11: XBlock==1.1.1
xblock12: XBlock==1.2.1
commands =
py27: python run_tests.py []
py35: - python run_tests.py []
# When Workbench Python 3 support is fixed, replace with:
# commands =
# python run_tests.py []
[testenv:flake8]
deps =
-rrequirements/flake8.txt
commands = flake8