Skip to content

Commit 8c86488

Browse files
committed
Add additional python versions
1 parent c1624a4 commit 8c86488

1 file changed

Lines changed: 79 additions & 5 deletions

File tree

.circleci/config.yml

Lines changed: 79 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,30 @@ version: 2.1
22

33
orbs:
44
python: circleci/python@0.2.1
5+
win: circleci/windows@2.2.0
56

67
workflows:
78
version: 2
89
build_test_deploy:
910
jobs:
1011
- build
1112

12-
- linux_py_27:
13+
- windows_py_27_16:
1314
requires:
1415
- build
1516

17+
- linux_py_27_16:
18+
requires:
19+
- build
20+
21+
- linux_py_27_17:
22+
requires:
23+
- build
24+
25+
# - linux_py_27_latest:
26+
# requires:
27+
# - build
28+
1629
- linux_py_37:
1730
requires:
1831
- build
@@ -23,7 +36,10 @@ workflows:
2336

2437
- deploy:
2538
requires:
26-
- linux_py_27
39+
- windows_py_27_16
40+
- linux_py_27_16
41+
- linux_py_27_17
42+
# - linux_py_27_latest
2743
- linux_py_37
2844
- linux_py_latest
2945

@@ -66,10 +82,50 @@ jobs:
6682
paths:
6783
- .
6884

69-
linux_py_27:
85+
windows_py_27_16:
86+
description: Linux 2.7.16
87+
executor: win/default
88+
89+
steps:
90+
- attach_workspace:
91+
at: /tmp/artifact
92+
name: Attach build artifact
93+
94+
- run:
95+
name: Install package
96+
command: |
97+
pip install '/tmp/artifact'
98+
99+
- run:
100+
name: Run integration test
101+
command: |
102+
python /tmp/artifact/tests/integration.py
103+
104+
105+
linux_py_27_16:
106+
description: Linux 2.7.16
107+
docker:
108+
- image: circleci/python:2.7.16
109+
110+
steps:
111+
- attach_workspace:
112+
at: /tmp/artifact
113+
name: Attach build artifact
114+
115+
- run:
116+
name: Install package
117+
command: |
118+
pip install '/tmp/artifact'
119+
120+
- run:
121+
name: Run integration test
122+
command: |
123+
python /tmp/artifact/tests/integration.py
124+
125+
linux_py_27_17:
70126
description: Linux 2.7.17
71127
docker:
72-
- image: circleci/python:2.7.17
128+
- image: circleci/python:2.7.18
73129

74130
steps:
75131
- attach_workspace:
@@ -86,6 +142,25 @@ jobs:
86142
command: |
87143
python /tmp/artifact/tests/integration.py
88144
145+
linux_py_27_latest:
146+
description: Linux 2.7.18
147+
docker:
148+
- image: circleci/python:2.7.18
149+
150+
steps:
151+
- attach_workspace:
152+
at: /tmp/artifact
153+
name: Attach build artifact
154+
155+
- run:
156+
name: Install package
157+
command: |
158+
pip install '/tmp/artifact'
159+
160+
- run:
161+
name: Run integration test
162+
command: |
163+
python /tmp/artifact/tests/integration.py
89164
90165
linux_py_37:
91166
description: Linux 3.7.7
@@ -107,7 +182,6 @@ jobs:
107182
command: |
108183
python /tmp/artifact/tests/integration.py
109184
110-
111185
linux_py_latest:
112186
description: Linux latest
113187
docker:

0 commit comments

Comments
 (0)