File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ jobs :
4+ verify_build :
5+ working_directory : ~/repo
6+ docker :
7+ - image : circleci/python:<< parameters.python >>
8+ parameters :
9+ python :
10+ type : string
11+ steps :
12+ - checkout
13+ - restore_cache :
14+ keys :
15+ - v1-dependencies-<< parameters.python >>-{{ checksum "requirements.txt" }}-{{ checksum "requirements-dev.txt" }}
16+ # fallback to using the latest cache if no exact match is found
17+ - v1-dependencies-<< parameters.python >>--
18+
19+ - run : pip install -r requirements.txt
20+ - run : pip install -r requirements-dev.txt
21+ - run : nose2 -v
22+ - run : flake8
23+
24+ - save_cache :
25+ paths :
26+ - /usr/local/lib/python<<parameters.python>>/site-packages
27+ key : v1-dependencies-<< parameters.python >>-{{ checksum "requirements.txt" }}-{{ checksum "requirements-dev.txt" }}
28+
29+ workflows :
30+ python-v2.7 :
31+ jobs :
32+ - verify_build :
33+ python : " 2.7"
34+
35+ python-v3.6 :
36+ jobs :
37+ - verify_build :
38+ python : " 3.6"
39+
40+ python-v3.7 :
41+ jobs :
42+ - verify_build :
43+ python : " 3.7"
You can’t perform that action at this time.
0 commit comments