[Pkg-bitcoin-commits] [python-quamash] 22/78: Added pytest-timeout, configured timeout to 10s and added vscode to gitignore.

Jonas Smedegaard dr at jones.dk
Tue Dec 19 01:19:52 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 a5fde5307a509f34747f9b68f431cc90c0027c40
Author: Korijn van Golen <k.vangolen at clinicalgraphics.com>
Date:   Thu Aug 10 09:02:11 2017 +0200

    Added pytest-timeout, configured timeout to 10s and added vscode to gitignore.
---
 .gitignore           | 3 +++
 .travis.yml          | 2 +-
 appveyor/install.ps1 | 1 +
 tox.ini              | 1 +
 4 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 01f5f2d..de0465f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,6 @@ htmlcov/
 
 # IDEA
 /.idea/
+
+# VSCode
+.vscode
diff --git a/.travis.yml b/.travis.yml
index 8dcbbb3..bd8a572 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,7 +56,7 @@ install:
   # Python 3.3
   - if echo $TRAVIS_PYTHON_VERSION | grep -q '^3.3'; then pip install asyncio; fi
   # flake8 style checker
-  - pip install flake8 pep8-naming flake8-debugger flake8-docstrings
+  - pip install flake8 pep8-naming flake8-debugger flake8-docstrings pytest-timeout
 script:
   - flake8
   - flake8 --select=D1 quamash/*.py
diff --git a/appveyor/install.ps1 b/appveyor/install.ps1
index 8b03498..84fa63a 100644
--- a/appveyor/install.ps1
+++ b/appveyor/install.ps1
@@ -31,6 +31,7 @@ function main () {
 	InstallPip $env:PYTHON
 	InstallPackage $env:PYTHON wheel
 	InstallPackage $env:PYTHON pytest
+	InstallPackage $env:PYTHON pytest-timeout
 	if($PYTHON_MAJ_VERSION -eq '3.3'){
 		InstallPackage $env:PYTHON asyncio
 	}
diff --git a/tox.ini b/tox.ini
index 64bd23f..b3ea5b5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,7 @@ setenv=
 
 [pytest]
 addopts=--doctest-modules quamash quamash tests
+timeout=10
 
 [testenv:flake8]
 sitepackages=True

-- 
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