projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add devops stages for pipeline
[osm/N2VC.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
789bbeb
..
502214f
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-4,25
+4,28
@@
# and then run "tox" from this directory.
[tox]
# and then run "tox" from this directory.
[tox]
-envlist = py35
+envlist =
lint,
py35
skipsdist=True
[testenv]
skipsdist=True
[testenv]
+basepython=python3
usedevelop=True
usedevelop=True
-passenv =
- HOME
+# for testing with other python versions
+commands=nosetests
deps =
deps =
- pytest
- pytest-asyncio
- pytest-xdist
+ nose
mock
mock
- asynctest
- ipdb
+ pyyaml
-[testenv:py35]
-# default tox env excludes integration tests
-commands = py.test -ra -v -s -x -n auto -k 'not integration' {posargs}
+[testenv:lint]
+envdir = {toxworkdir}/py35
+commands =
+ flake8 --ignore E501 {posargs} juju tests
+deps =
+ flake8
-[testenv:integration]
-basepython=python3
-commands = py.test -ra -v -s -x -n auto {posargs}
+[testenv:build]
+basepython = python3
+deps = stdeb
+ setuptools-version-command
+commands = python3 setup.py --command-packages=stdeb.command bdist_deb