File tree Expand file tree Collapse file tree 4 files changed +85
-6
lines changed
Expand file tree Collapse file tree 4 files changed +85
-6
lines changed Original file line number Diff line number Diff line change 1+ defaults : &defaults
2+ working_directory : ~/sublime_docblockr_python
3+ docker :
4+ - image : circleci/python:3.4
5+
6+ version : 2
7+ jobs :
8+ test :
9+ << : *defaults
10+ steps :
11+ - checkout
12+ - run :
13+ name : install pipenv
14+ command : pip install pipenv
15+ - run :
16+ name : install dependencies
17+ command : |
18+ pipenv install
19+ pipenv install --dev
20+ - run :
21+ name : run tests
22+ command : pipenv run tox
23+ - store_artifacts :
24+ path : pytest
25+ - store_test_results :
26+ path : pytest
27+
28+ workflows :
29+ version : 2
30+ test :
31+ jobs :
32+ - test
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ pytest = "*"
1010pytest-cov = " *"
1111pytest-sugar = " *"
1212pydocstyle = " *"
13+ codecov = " *"
1314
1415[packages ]
1516
1617[requires ]
17- python_version = " 3.4.3 "
18+ python_version = " 3.4"
Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ whitelist_externals =
1414setenv =
1515 PYTHONPATH = {toxinidir}
1616 PIPENV_DOTENV_LOCATION = {toxinidir}/tests/.env
17+ passenv = TOXENV CI CODECOV_TOKEN CODECOV_ENV
1718
1819[testenv:test]
1920commands =
2021 rm -rf pytest
2122 mkdir -p pytest/coverage
2223 pipenv run py.test
24+ pipenv run codecov -e TOXENV
2325
2426[testenv:style]
2527commands =
@@ -42,6 +44,7 @@ max-complexity = 10
4244tee = true
4345count = true
4446show-statistics = true
47+ show-source = true
4548
4649[pydocstyle]
4750match = ' (?!test_).*\. py|(?!conftest\. py)'
You can’t perform that action at this time.
0 commit comments