changeset 209:522cefa8cb45

tox: add a tox.ini for easier testing of hglib against many hg versions
author Augie Fackler <raf@durin42.com>
date Thu, 23 May 2019 12:42:50 -0400
parents 12e6aaef0f6e
children 513ebe91dc72
files .hgignore tox.ini
diffstat 2 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Tue May 07 22:16:59 2019 -0400
+++ b/.hgignore	Thu May 23 12:42:50 2019 -0400
@@ -10,3 +10,4 @@
 *.swp
 *.noseids
 build
+.tox
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tox.ini	Thu May 23 12:42:50 2019 -0400
@@ -0,0 +1,22 @@
+[tox]
+envlist = hg37,hg38,hg39,hg40,hg41,hg42,hg43,hg44,hg45,hg46,hg47,hg48,hg49,hg50
+
+[testenv]
+deps=
+    nose
+    hg37: Mercurial==3.7.3
+    hg38: Mercurial==3.8.3
+    hg39: Mercurial==3.8.3
+    hg40: Mercurial==4.0.2
+    hg41: Mercurial==4.1.3
+    hg42: Mercurial==4.2.2
+    hg43: Mercurial==4.3.1
+    hg44: Mercurial==4.4.2
+    hg45: Mercurial==4.5.3
+    hg46: Mercurial==4.6.2
+    hg47: Mercurial==4.7.2
+    hg48: Mercurial==4.8.2
+    hg49: Mercurial==4.9.1
+    hg50: Mercurial==5.0
+
+commands=nosetests {posargs}