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 1
1
language : python
2
+ cache :
3
+ - apt
4
+ - pip
2
5
python :
3
6
- " 3.5"
4
7
- " 3.6"
5
8
- " 3.7"
6
9
- " 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 1
1
dev :
2
2
pipenv install --dev
3
3
4
+ pipenv :
5
+ pip install pipenv
6
+ pipenv install --dev
7
+
4
8
deploy-patch : requirements bumpversion-patch sdist bdist wheels upload clean
5
9
6
10
deploy-minor : requirements bumpversion-minor sdist bdist wheels upload clean
@@ -19,8 +23,6 @@ bdist: requirements
19
23
wheels : requirements
20
24
python setup.py bdist_wheel
21
25
22
- clean : clean-build clean-pyc
23
-
24
26
bumpversion-patch :
25
27
bumpversion patch
26
28
git push
@@ -36,8 +38,7 @@ bumpversion-major:
36
38
git push
37
39
git push --tags
38
40
39
- upload :
40
- python setup.py sdist bdist bdist_wheel upload
41
+ clean : clean-build clean-pyc
41
42
42
43
clean-build :
43
44
rm -fr build/
@@ -53,3 +54,8 @@ clean-pyc:
53
54
find . -name ' *~' -exec rm -f {} +
54
55
find . -name ' __pycache__' -exec rm -fr {} +
55
56
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 = "*"
11
11
bumpversion = " *"
12
12
pipenv-to-requirements = " *"
13
13
wheel = " *"
14
+ pytest = " *"
15
+ codecov = " *"
16
+ coveralls = " *"
14
17
15
18
[packages ]
16
19
boto3 = " ==1.4.4"
Original file line number Diff line number Diff line change 8
8
from setuptools import Command
9
9
from setuptools import setup
10
10
11
- REQUIREMENTS = [
12
- "boto3" ,
13
- "click" ,
14
- "PyYAML" ,
15
- ]
16
11
PACKAGE_DATA = {
17
12
"aws_lambda" : ["project_templates/*" ],
18
13
"" : ["*.json" ],
@@ -68,7 +63,6 @@ def run(self):
68
63
package_data = PACKAGE_DATA ,
69
64
test_suite = "tests" ,
70
65
tests_require = [],
71
- install_requires = REQUIREMENTS ,
72
66
classifiers = [
73
67
"Development Status :: 2 - Pre-Alpha" ,
74
68
"Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments