bug 605. New method at fslocal for rename folders
[osm/common.git] / tox.ini
1 # Copyright 2018 Telefonica S.A.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 [tox]
17 envlist = py3
18 toxworkdir={homedir}/.tox
19
20 [testenv:pytest]
21 basepython = python3
22 deps = pytest
23 pytest-asyncio
24 pycrypto
25 commands = pytest osm_common
26
27 [testenv:flake8]
28 basepython = python3
29 deps = flake8
30 commands =
31 flake8 osm_common/ setup.py --max-line-length 120 --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,E226
32
33 [testenv:unittest]
34 basepython = python3
35 deps = pycrypto
36 pytest
37 commands = python3 -m unittest osm_common.tests.test_dbbase
38
39
40 [testenv:build]
41 basepython = python3
42 deps = stdeb
43 setuptools-version-command
44 commands = python3 setup.py --command-packages=stdeb.command bdist_deb