1
0
mirror of https://github.com/ansible/mazer.git synced 2026-02-05 12:45:17 +01:00
Files
mazer/tox.ini
Adrian Likins 0502f70d3e bootstrap package setup via cookiecutter (#6)
bootstrap package setup via cookiecutter

Based on template from https://github.com/audreyr/cookiecutter-pypackage

Changes from default template:
* unpin dev requirements for now
* rm 'watchdog' dev requirement and remove use
from Makefile
* sort requirements_dev, unpin and note bumpversion
* Use 'Apache-2.0' spdx.org style licence identifier to match ansible/galaxy/setup.py.
* rm docs from sdist
* mv rst docs to docs/rst
* add .pytest_cache to gitignore
2018-04-19 12:33:14 -04:00

27 lines
525 B
INI

[tox]
envlist = py27, py36, flake8
[travis]
python =
3.6: py36
2.7: py27
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 ansible_galaxy_cli
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir}