blob: f6ec0c72b99880391c9e0cca2284f3e136c2b817 [file] [log] [blame]
garciadeblas09fa3d42019-10-08 18:30:46 +02001#
2# Licensed under the Apache License, Version 2.0 (the "License"); you may
3# not use this file except in compliance with the License. You may obtain
4# 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, WITHOUT
10# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11# License for the specific language governing permissions and limitations
12# under the License.
13#
Mike Marchettieeb2c002017-05-25 11:34:25 -040014[tox]
garciadeblas09fa3d42019-10-08 18:30:46 +020015envlist = py27,py35,flake8,pyflakes
Mike Marchetti11987be2017-06-09 11:45:04 -040016toxworkdir={homedir}/.tox
Mike Marchettieeb2c002017-05-25 11:34:25 -040017
18[testenv]
garciadeblas09fa3d42019-10-08 18:30:46 +020019deps = nose
20 mock
21commands =
22 nosetests
Mike Marchettieeb2c002017-05-25 11:34:25 -040023
24[testenv:flake8]
25basepython = python
26deps = flake8
27commands =
28 flake8 setup.py
29
peustermbe960962018-06-14 21:32:55 +020030[testenv:pyflakes]
31basepython = python3
32deps = pyflakes
33commands =
34 pyflakes osmclient
35
Mike Marchettieeb2c002017-05-25 11:34:25 -040036[testenv:build]
37basepython = python
38deps = stdeb
39 setuptools-version-command
40commands = python setup.py --command-packages=stdeb.command bdist_deb
garciadeblas09fa3d42019-10-08 18:30:46 +020041
42[testenv:build3]
43basepython = python3
44deps = stdeb
45 setuptools-version-command
46commands = python3 setup.py --command-packages=stdeb.command bdist_deb
47