File tree 3 files changed +39
-2
lines changed
3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ docker :
5
+ - image : circleci/python:3.6.1
6
+
7
+ working_directory : ~/repo
8
+
9
+ steps :
10
+ - checkout
11
+ - restore_cache :
12
+ keys :
13
+ - v1-dependencies-{{ checksum "requirements.txt" }}
14
+ # fallback to using the latest cache if no exact match is found
15
+ - v1-dependencies-
16
+
17
+ - run :
18
+ name : install dependencies
19
+ command : |
20
+ python3 -m venv venv
21
+ . venv/bin/activate
22
+ pip install -r requirements.txt
23
+
24
+ - save_cache :
25
+ paths :
26
+ - ./venv
27
+ key : v1-dependencies-{{ checksum "requirements.txt" }}
28
+
29
+ - run :
30
+ name : run tests
31
+ command : |
32
+ . venv/bin/activate
33
+ python3 -m unittest discover
34
+
35
+ - store_artifacts :
36
+ path : test-reports
37
+ destination : test-reports
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ verify_ssl = true
4
4
name = " pypi"
5
5
6
6
[packages ]
7
- requests = " >=2.18.4 "
7
+ requests = " >=2.20.0 "
8
8
httmock = " >=1.2.5"
9
9
python-jose = " >=1.4.0"
10
10
Original file line number Diff line number Diff line change 1
- requests >= 2.18.4
1
+ requests >= 2.20.0
2
2
httmock >= 1.2.5
3
3
python-jose >= 1.4.0
4
4
twine == 1.13.0
You can’t perform that action at this time.
0 commit comments