| Tomás Villaseca | b2e5982 | 2020-01-16 16:36:15 -0300 | [diff] [blame] | 1 | # 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 Marchetti | 94b645e | 2017-08-04 14:33:54 -0400 | [diff] [blame] | 14 | [tox] |
| madavi | c0a1f69 | 2020-01-16 17:51:43 +0530 | [diff] [blame] | 15 | envlist = py3 |
| Mike Marchetti | 94b645e | 2017-08-04 14:33:54 -0400 | [diff] [blame] | 16 | toxworkdir={homedir}/.tox |
| 17 | |
| 18 | [testenv] |
| 19 | deps=nose |
| 20 | mock |
| Adam Israel | 658dd3c | 2017-11-30 15:49:03 -0500 | [diff] [blame] | 21 | pyyaml |
| Mike Marchetti | 94b645e | 2017-08-04 14:33:54 -0400 | [diff] [blame] | 22 | commands=nosetests |
| 23 | |
| 24 | [testenv:flake8] |
| madavi | c0a1f69 | 2020-01-16 17:51:43 +0530 | [diff] [blame] | 25 | basepython = python3 |
| Mike Marchetti | 94b645e | 2017-08-04 14:33:54 -0400 | [diff] [blame] | 26 | deps = flake8 |
| 27 | commands = |
| 28 | flake8 setup.py |
| 29 | |
| 30 | [testenv:build] |
| 31 | basepython = python |
| 32 | deps = stdeb |
| 33 | setuptools-version-command |
| Tomás Villaseca | b2e5982 | 2020-01-16 16:36:15 -0300 | [diff] [blame] | 34 | setuptools == 44.0.0 |
| Mike Marchetti | 94b645e | 2017-08-04 14:33:54 -0400 | [diff] [blame] | 35 | commands = python setup.py --command-packages=stdeb.command bdist_deb |
| Mike Marchetti | ce4a73d | 2018-08-29 15:40:41 -0400 | [diff] [blame] | 36 | |
| 37 | [testenv:build3] |
| 38 | basepython = python3 |
| 39 | deps = stdeb |
| 40 | setuptools-version-command |
| 41 | commands = python3 setup.py --command-packages=stdeb.command bdist_deb |
| Mike Marchetti | 94b645e | 2017-08-04 14:33:54 -0400 | [diff] [blame] | 42 | |