File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ working_directory : ~/sdclientapi
5
+ docker :
6
+ - image : circleci/python:3.5.3
7
+ environment :
8
+ PIPENV_VENV_IN_PROJECT : true
9
+ steps :
10
+ - checkout
11
+ - run : sudo chown -R circleci:circleci /usr/local/bin
12
+ - run : sudo chown -R circleci:circleci /usr/local/lib/python3.5/site-packages
13
+ - restore_cache :
14
+ key : deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
15
+ - run :
16
+ command : |
17
+ sudo pip install pipenv
18
+ pipenv install -d
19
+ - save_cache :
20
+ key : deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
21
+ paths :
22
+ - " .venv"
23
+ - " /usr/local/bin"
24
+ - " /usr/local/lib/python3.5/site-packages"
25
+ - run :
26
+ command : |
27
+ pipenv run python -m unittest discover -v tests/
28
+ - store_test_results :
29
+ path : test-results
30
+ - store_artifacts :
31
+ path : test-results
32
+ destination : tr1
You can’t perform that action at this time.
0 commit comments