-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
48 lines (41 loc) · 824 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
40
41
42
43
44
45
46
47
[tox]
envlist = py37,flake8
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
sitepackages = True
usedevelop = True
deps =
aiomas
numpy
pytest
coverage
pytest-cov
testfixtures
networkx
asyncssh
deap
scipy
noise
opencv-python
commands =
python setup.py develop
py.test tests/ --cov=creamas --cov-report=html
# py.test tests/ --cov=creamas --ignore=tests/test_ds.py --ignore=tests/test_mp.py
# We skip doctesting for now as there are no real examples there.
[testenv:docs]
commands =
- py.test -v --doctest-glob="*.rst" {toxinidir}/docs/
[testenv:flake8]
skipinstall = True
deps =
flake8
aiomas
commands =
flake8 creamas
[flake8]
# Skip examples from flake8 tests
exclude =
creamas/examples/*
ignore = E731, E722
[tox:travis]
3.7 = py37