blob: 2a96a5975edbe7ec50e161c830eccf24522507cf [file] [log] [blame]
Tomás Villasecab2e59822020-01-16 16:36:15 -03001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10# implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
Mike Marchetti94b645e2017-08-04 14:33:54 -040014[tox]
madavic0a1f692020-01-16 17:51:43 +053015envlist = py3
Mike Marchetti94b645e2017-08-04 14:33:54 -040016toxworkdir={homedir}/.tox
17
18[testenv]
19deps=nose
20 mock
Adam Israel658dd3c2017-11-30 15:49:03 -050021 pyyaml
Mike Marchetti94b645e2017-08-04 14:33:54 -040022commands=nosetests
23
24[testenv:flake8]
madavic0a1f692020-01-16 17:51:43 +053025basepython = python3
Mike Marchetti94b645e2017-08-04 14:33:54 -040026deps = flake8
27commands =
28 flake8 setup.py
29
30[testenv:build]
31basepython = python
32deps = stdeb
33 setuptools-version-command
Tomás Villasecab2e59822020-01-16 16:36:15 -030034 setuptools == 44.0.0
Mike Marchetti94b645e2017-08-04 14:33:54 -040035commands = python setup.py --command-packages=stdeb.command bdist_deb
Mike Marchettice4a73d2018-08-29 15:40:41 -040036
37[testenv:build3]
38basepython = python3
39deps = stdeb
40 setuptools-version-command
41commands = python3 setup.py --command-packages=stdeb.command bdist_deb
Mike Marchetti94b645e2017-08-04 14:33:54 -040042