summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 3fc69ffd5caa9f3830d4569a5bbacb054a51505a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[tox]
minversion = 1.8
toxworkdir = {homedir}/.tox/work/mercurial/extension_utils
distshare = {homedir}/.tox/distshare
envlist = py{35,36,37}-hg{52,51,50},py27-hg{52,51,50,49,48,45,44,41,38,37,33,30,29,27}
skip_missing_interpreters = true
;; We don't test python3.5, it's old and causes regexp problems (and some apis
;; actually fail).
;;
;; Installing custom pythons:
;;    sudo add-apt-repository ppa:deadsnakes/ppa

[testenv]
passenv = HOME
setenv =
    HGRCPATH = {toxworkdir}/hgrc
    py35: HGPYTHON3 = 1
    py36: HGPYTHON3 = 1
    py37: HGPYTHON3 = 1
deps =
    py26: unittest2     
    hg27: Mercurial>=2.7,<2.8
    hg28: Mercurial>=2.8,<2.9
    hg29: Mercurial>=2.9,<3.0
    hg30: Mercurial>=3.0,<3.1
    hg31: Mercurial>=3.1,<3.2
    hg32: Mercurial>=3.2,<3.3
    hg33: Mercurial>=3.3,<3.4
    hg34: Mercurial>=3.4,<3.5
    hg35: Mercurial>=3.5,<3.6
    hg36: Mercurial>=3.6,<3.7
    hg37: Mercurial>=3.7,<3.8
    hg38: Mercurial>=3.8,<3.9
    hg40: Mercurial>=4.0,<4.1
    hg41: Mercurial>=4.1,<4.2
    hg42: Mercurial>=4.2,<4.3
    hg43: Mercurial>=4.3,<4.4
    hg44: Mercurial>=4.4,<4.5
    hg45: Mercurial>=4.5,<4.6
    hg46: Mercurial>=4.6,<4.7
    hg47: Mercurial>=4.7,<4.8
    hg48: Mercurial>=4.8,<4.9
    hg49: Mercurial>=4.9,<4.10
    hg50: Mercurial>=5.0,<5.1
    hg51: Mercurial>=5.1,<5.2
    hg52: Mercurial>=5.2,<5.3
commands =
    py26: unit2 discover tests
    py27: python -m unittest discover tests
    py35: python -m unittest discover tests
    py36: python -m unittest discover tests
    py37: python -m unittest discover tests