blob: 2bd23ea3ca551bad45f809bf9180c62d3e2258e0 [file] [log] [blame]
tiernoed3e4d42019-10-21 15:31:27 +00001##
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11# implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14##
15
16[tox]
tierno1ec592d2020-06-16 15:29:47 +000017envlist = flake8
18toxworkdir={toxinidir}/../.tox
tiernoed3e4d42019-10-21 15:31:27 +000019
20[testenv]
tierno1ec592d2020-06-16 15:29:47 +000021usedevelop = True
tiernoed3e4d42019-10-21 15:31:27 +000022basepython = python3
23install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
tiernoed3e4d42019-10-21 15:31:27 +000024
25[testenv:flake8]
26basepython = python3
27deps = flake8
28commands = flake8 osm_rosdn_dynpac --max-line-length 120 \
29 --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,E226,W504
30
31[testenv:unittest]
32basepython = python3
33commands = python3 -m unittest osm_rosdn_dynpac.tests
34
35[testenv:build]
36basepython = python3
37deps = stdeb
38 setuptools-version-command
39commands = python3 setup.py --command-packages=stdeb.command bdist_deb
40