Mercurial > hgsubversion
annotate tox.ini @ 1518:09476d758b59
maps: handle sqlite lock error triggered by PRAGMA statements
"self._db.execute('PRAGMA cache_size=%d' % (-cachesize))" could raise
"OperationalError: database is locked". Therefore move PRAGMA statements
inside "self._transaction" which handles the "locked" error automatically.
author | Jun Wu <quark@fb.com> |
---|---|
date | Fri, 11 Aug 2017 09:24:29 -0700 |
parents | f75c1d112793 |
children | 83b28c179d19 |
rev | line source |
---|---|
1486
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
1 [tox] |
1500
f75c1d112793
tox: give up on Mercurial older than 3.2
Augie Fackler <raf@durin42.com>
parents:
1499
diff
changeset
|
2 envlist = hg32,hg33,hg34,hg35,hg36,hg37,hg38,hg39,hg40,hg41 |
1486
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
3 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
4 [testenv] |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
5 deps= |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
6 nose |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
7 hg32: Mercurial==3.2.4 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
8 hg33: Mercurial==3.3.3 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
9 hg34: Mercurial==3.4.2 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
10 hg35: Mercurial==3.5.2 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
11 hg36: Mercurial==3.6.3 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
12 hg37: Mercurial==3.7.3 |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
13 hg38: Mercurial==3.8.3 |
1499
60690af283e5
tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents:
1486
diff
changeset
|
14 hg39: Mercurial==3.8.3 |
60690af283e5
tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents:
1486
diff
changeset
|
15 hg40: Mercurial==4.0.2 |
60690af283e5
tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents:
1486
diff
changeset
|
16 hg41: Mercurial==4.1 |
1486
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
17 subvertpy |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
18 commands=nosetests {posargs} |