File tree Expand file tree Collapse file tree 5 files changed +126
-15
lines changed
Expand file tree Collapse file tree 5 files changed +126
-15
lines changed Original file line number Diff line number Diff line change 11language : python
2+ cache :
3+ - apt
4+ - pip
25python :
36 - " 3.5"
47 - " 3.6"
58 - " 3.7"
69 - " 3.8"
7- install :
8- - pip install -r requirements.txt
9- - pip install -r tests/dev_requirements.txt
10- script : pytest
10+ before_install :
11+ - pip install pipenv --upgrade
12+ script :
13+ - pipenv
14+ - pytest
15+ sudo : false
16+ notifications :
17+ slack : watchcloud:rNoT5kJJakPqwLSKuev6oa4C
Original file line number Diff line number Diff line change 11dev :
22 pipenv install --dev
33
4+ pipenv :
5+ pip install pipenv
6+ pipenv install --dev
7+
48deploy-patch : requirements bumpversion-patch sdist bdist wheels upload clean
59
610deploy-minor : requirements bumpversion-minor sdist bdist wheels upload clean
@@ -19,8 +23,6 @@ bdist: requirements
1923wheels : requirements
2024 python setup.py bdist_wheel
2125
22- clean : clean-build clean-pyc
23-
2426bumpversion-patch :
2527 bumpversion patch
2628 git push
@@ -36,8 +38,7 @@ bumpversion-major:
3638 git push
3739 git push --tags
3840
39- upload :
40- python setup.py sdist bdist bdist_wheel upload
41+ clean : clean-build clean-pyc
4142
4243clean-build :
4344 rm -fr build/
@@ -53,3 +54,8 @@ clean-pyc:
5354 find . -name ' *~' -exec rm -f {} +
5455 find . -name ' __pycache__' -exec rm -fr {} +
5556 find . -name ' .pytest_cache' -exec rm -fr {} +
57+ find . -name ' .mypy_cache' -exec rm -fr {} +
58+
59+ upload : clean
60+ python setup.py sdist bdist_wheel
61+ twine upload dist/*
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ black = "*"
1111bumpversion = " *"
1212pipenv-to-requirements = " *"
1313wheel = " *"
14+ pytest = " *"
15+ codecov = " *"
16+ coveralls = " *"
1417
1518[packages ]
1619boto3 = " ==1.4.4"
Original file line number Diff line number Diff line change 88from setuptools import Command
99from setuptools import setup
1010
11- REQUIREMENTS = [
12- "boto3" ,
13- "click" ,
14- "PyYAML" ,
15- ]
1611PACKAGE_DATA = {
1712 "aws_lambda" : ["project_templates/*" ],
1813 "" : ["*.json" ],
@@ -68,7 +63,6 @@ def run(self):
6863 package_data = PACKAGE_DATA ,
6964 test_suite = "tests" ,
7065 tests_require = [],
71- install_requires = REQUIREMENTS ,
7266 classifiers = [
7367 "Development Status :: 2 - Pre-Alpha" ,
7468 "Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments