1
1
language : python
2
+ os : linux
2
3
dist : xenial
3
- matrix :
4
+ jobs :
5
+ fast_finish : true
4
6
allow_failures :
5
7
- os : windows
6
8
- os : osx
7
9
- python : 3.9-dev
10
+ - env : DOCKER=true
8
11
include :
9
- - python : 3.7
12
+ - stage : " Test"
13
+ python : 3.7
14
+ name : Test (Python 3.7, Linux)
10
15
env :
11
16
- TOX_ENV=py37
12
17
- os : osx
13
18
language : generic
14
19
python : 3.7
20
+ name : Test (Python 3.7, OSX)
15
21
env :
16
22
- TOX_ENV=py37
17
23
- os : windows
18
- language : sh
24
+ language : shell
19
25
python : 3.7
26
+ name : Test (Python 3.7, Windows)
20
27
before_install :
21
28
- choco install python --version=3.7.5
22
29
- choco install nodejs
@@ -25,54 +32,116 @@ matrix:
25
32
env :
26
33
- TOX_ENV=py37
27
34
- python : 3.5
35
+ name : Test (Python 3.5, Linux)
28
36
env :
29
37
- TOX_ENV=py35
30
38
- python : 3.6
39
+ name : Test (Python 3.6, Linux)
31
40
env :
32
41
- TOX_ENV=py36
33
42
- python : 3.8
43
+ name : Test (Python 3.8, Linux)
34
44
env :
35
45
- TOX_ENV=py38
36
46
- python : 3.9-dev
47
+ name : Test (Python 3.9-dev, Linux)
37
48
env :
38
49
- TOX_ENV=py39
39
50
- python : 3.6
51
+ name : Test (Python 3.6 PyPy, Linux)
40
52
env :
41
53
- TOX_ENV=pypy3.6
42
54
- python : 3.8
55
+ name : Test (Mountebank 2.1, Python 3.8, Linux)
56
+ env :
57
+ - TOX_ENV=py38
58
+ - MBTEST_VERSION=2.1
59
+ - python : 3.8
60
+ name : Test (Mountebank 2.0, Python 3.8, Linux)
61
+ env :
62
+ - TOX_ENV=py38
63
+ - MBTEST_VERSION=2.0
64
+ - python : 3.8
65
+ name : Test (Mountebank 1.16, Python 3.8, Linux)
66
+ env :
67
+ - TOX_ENV=py38
68
+ - MBTEST_VERSION=1.16
69
+ - name : Test (Python 3.5, Docker)
70
+ env : DOCKER=true
71
+ before_install :
72
+ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
73
+ - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
74
+ - sudo apt-get update
75
+ - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
76
+ install :
77
+ - make use-docker
78
+ - make build-with-python3.5
79
+ script :
80
+ - make test-with-python3.5
81
+ - name : Test (Python 3.6, Docker)
82
+ env : DOCKER=true
83
+ before_install :
84
+ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
85
+ - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
86
+ - sudo apt-get update
87
+ - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
88
+ install :
89
+ - make use-docker
90
+ - make build-with-python3.6
91
+ script :
92
+ - make test-with-python3.6
93
+ - name : Test (Python 3.7, Docker)
94
+ env : DOCKER=true
95
+ before_install :
96
+ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
97
+ - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
98
+ - sudo apt-get update
99
+ - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
100
+ install :
101
+ - make use-docker
102
+ - make build-with-python3.7
103
+ script :
104
+ - make test-with-python3.7
105
+ - name : Test (Python 3.8, Docker)
106
+ env : DOCKER=true
107
+ before_install :
108
+ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
109
+ - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
110
+ - sudo apt-get update
111
+ - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
112
+ install :
113
+ - make use-docker
114
+ - make build-with-python3.8
115
+ script :
116
+ - make test-with-python3.8
117
+ - stage : " Code quality checks"
118
+ python : 3.8
119
+ name : Check formatting
43
120
env :
44
121
- TOX_ENV=check-format
45
122
- python : 3.8
123
+ name : Run flake8 checks
46
124
env :
47
125
- TOX_ENV=flake8
48
126
- python : 3.8
127
+ name : Run bandit checks
49
128
env :
50
129
- TOX_ENV=bandit
51
130
- python : 3.8
131
+ name : Run mypy checks
52
132
env :
53
133
- TOX_ENV=mypy
54
- - python : 3.8
134
+ - stage : " Documentation"
135
+ python : 3.8
136
+ name : Generate documentation
55
137
env :
56
138
- TOX_ENV=docs
57
139
- python : 3.6
140
+ name : Publish coverage
58
141
env :
59
142
- TOX_ENV=publish-coverage
60
143
- secure : " iBpfQQnq7LqJC9Tc4M7EuRiK5RSZLjsmacp6Ns9obpkkHQyJFWS80760BOD8iBsi9cor5w6z0JzLBIJYLGRZAmUNW7y76K+NKXs9pEn/i6mF7V8rXCzU6tyJ28xH6csNt9KAkoHIbXmt+0TAa4tN+uCRq2c7rHVbuarCfQBVislpJZl9qz61WVvDBfxpefL4VKCkteHxNTGMdZvw0wnc1+RvluNLeuNQ6TpPnJ7iS2FPGXOOMhcj26ZVL5cPMqIwX5IIo2JlWczMqXYWwoN+PC+4YlZclH+c73yl3XcZL9twq4g1cvW39HKAd5QDpQPapLep+3OF39bBiYetlqLUImHgCI/IwufV7RSceW+HUv1rqTVIteglRWhmR1ePZYeuJxLsuGnIbKRJcUnob7spk2Oxwr+ZrvqqC3+ivSpaPQiZjtIp2mdTEvetWm6X7xjMvk8FQKJZedp8CaRO8TEd9U5Cy3XxCA/hXNIThhxWtkpCwqmGs/VGV6Ao6swsuN/z9YxUQ2uIKvml7KwzCj1QYOhpHkdcxRGyTy/xoEUvQ4Vm7XGcrxksUKKBu1K9VCIdANo73w0WwTM6BPSWiMKDMHCUaJFqLiSr3gZwT2oUrPt83f9THdY7hl67NeZB7v0DHm/c4BSXf7nrkWmxREAUd86KRcrdczqe7NIJJGzpkRM="
61
- - python : 3.8
62
- sudo : yes
63
- env :
64
- - TOX_ENV=py38
65
- - MBTEST_VERSION=2.1
66
- - python : 3.8
67
- sudo : yes
68
- env :
69
- - TOX_ENV=py38
70
- - MBTEST_VERSION=2.0
71
- - python : 3.8
72
- sudo : yes
73
- env :
74
- - TOX_ENV=py38
75
- - MBTEST_VERSION=1.16
144
+
76
145
before_install :
77
146
- nvm install 12
78
147
- pip install --upgrade tox
0 commit comments