File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 3
3
version : 2.1
4
4
5
5
executors :
6
- python-27 : {docker: [{image: 'circleci/python:2.7'}]}
7
- python-34 : {docker: [{image: 'circleci/python:3.4'}]}
8
- python-35 : {docker: [{image: 'circleci/python:3.5'}]}
9
- python-36 : {docker: [{image: 'circleci/python:3.6'}]}
10
- python-37 : {docker: [{image: 'circleci/python:3.7'}]}
6
+ python-27 : {docker: [{image: 'python:2.7'}]}
7
+ python-35 : {docker: [{image: 'python:3.5'}]}
8
+ python-36 : {docker: [{image: 'python:3.6'}]}
9
+ python-37 : {docker: [{image: 'python:3.7'}]}
11
10
12
11
jobs :
13
12
build :
21
20
- run : env
22
21
- restore_cache :
23
22
keys :
24
- - v1-dependencies-{{ checksum "requirements.txt" }}
23
+ - v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements.txt" }}
25
24
- run :
26
25
name : install dependencies
27
26
command : |
32
31
- save_cache :
33
32
paths :
34
33
- ./venv
35
- key : v1-dependencies-<< parameters.executor >> -{{ checksum "requirements.txt" }}
34
+ key : v1-dependencies-{{ .Environment.CIRCLE_JOB }} -{{ checksum "requirements.txt" }}
36
35
- run :
37
36
name : run tests
38
37
command : |
@@ -43,7 +42,6 @@ workflows:
43
42
run-tests :
44
43
jobs :
45
44
- build : {name: run-tests-python-2.7, executor: python-27}
46
- - build : {name: run-tests-python-3.5, executor: python-34}
47
45
- build : {name: run-tests-python-3.5, executor: python-35}
48
46
- build : {name: run-tests-python-3.6, executor: python-36}
49
47
- build : {name: run-tests-python-3.7, executor: python-37}
You can’t perform that action at this time.
0 commit comments