[Pkg-bitcoin-commits] [python-quamash] 61/78: tox settings
Jonas Smedegaard
dr at jones.dk
Tue Dec 19 01:19:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.6.0_dfsg-1
in repository python-quamash.
commit 7c0fa54d7998a29b253ed6f15fa52fda84c3aab6
Author: Mark Thomas West Harviston <mark.harviston at gmail.com>
Date: Sun Nov 19 22:53:59 2017 -0800
tox settings
---
.gitignore | 1 +
tox.ini | 54 +++++++++++++++++++++++++-----------------------------
2 files changed, 26 insertions(+), 29 deletions(-)
diff --git a/.gitignore b/.gitignore
index de0465f..2e224b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,7 @@ develop-eggs
lib
lib64
.coverage*
+*.env
# Installer logs
pip-log.txt
diff --git a/tox.ini b/tox.ini
index beb4154..0aa9f7e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,50 +2,46 @@
# this tox file kinda works, but it's designed for a pretty
# specific environment
-envlist={py33,py34}-{pyqt4,pyqt5,pyside}
-# I work on an NFS drive, so switching the work dir
-# to a local drive speeds it up quite a bit
-toxworkdir={homedir}/quamash-tox-work
+envlist=flake8,py36-pyqt5,{py34,py35,py36}-pyqt4,py34-pyside
[testenv]
+install_command = pip install --only-binary=PySide --only-binary=PyQt4 --only-binary=PyQt5 --find-links .\wheelhouse {opts} {packages}
sitepackages=True
deps=
- pytest
- py33: asyncio
+ colorlog
+ pytest
+ pyqt4: PyQt4
+ pyqt5: PyQt5
+ pyside: PySide
commands=py.test
setenv=
- pyqt4: QUAMASH_QTIMPL=PyQt4
- pyqt5: QUAMASH_QTIMPL=PyQt5
- pyside: QUAMASH_QTIMPL=PySide
+ pyqt4: QUAMASH_QTIMPL=PyQt4
+ pyqt5: QUAMASH_QTIMPL=PyQt5
+ pyside: QUAMASH_QTIMPL=PySide
[pytest]
-addopts=-rxs -v --doctest-modules quamash quamash tests
+addopts=-rxs --doctest-modules quamash quamash tests
timeout=10
+[testenv:py34-pyside]
+commands=-py.test
+
[testenv:flake8]
-sitepackages=True
-setenv=QUAMASH_QTIMPL=PySide
-basepython=python3.4
+setenv=QUAMASH_QTIMPL=PyQt5
+basepython=python3.6
deps=
- flake8
- pep8-naming
- flake8-debugger
- flake8-docstrings
+ PyQt5
+ flake8
+ pep8-naming
+ flake8-debugger
+ flake8-docstrings
+ flake8-commas
commands=
# different parameters for different parts of the project
- flake8 --ignore=D1,W191,E501
- flake8 --select=D1 quamash/*.py
-
-[testenv:coverage]
-sitepackages=True
-setenv=QUAMASH_QTIMPL=PySide
-basepython=python3.4
-deps=
- pytest
- pytest-cov
-commands=py.test --cov quamash
+ flake8
+ flake8 --select=D1 quamash/*.py
[flake8]
max-complexity=15
ignore=D1,W191,E501,E402,E704,E701,D211
-exclude=build,.git,__pycache__,wheelhouse,htmlcov,dist,.cache,*.egg-info,appveyor
+exclude=build,.git,__pycache__,wheelhouse,htmlcov,dist,.cache,*.egg-info,appveyor,*.env,.tox
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git
More information about the Pkg-bitcoin-commits
mailing list