Skip to content

Commit 30a74e7

Browse files
committed
fix build
1 parent 769b26c commit 30a74e7

File tree

5 files changed

+126
-15
lines changed

5 files changed

+126
-15
lines changed

.travis.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
language: python
2+
cache:
3+
- apt
4+
- pip
25
python:
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

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
dev:
22
pipenv install --dev
33

4+
pipenv:
5+
pip install pipenv
6+
pipenv install --dev
7+
48
deploy-patch: requirements bumpversion-patch sdist bdist wheels upload clean
59

610
deploy-minor: requirements bumpversion-minor sdist bdist wheels upload clean
@@ -19,8 +23,6 @@ bdist: requirements
1923
wheels: requirements
2024
python setup.py bdist_wheel
2125

22-
clean: clean-build clean-pyc
23-
2426
bumpversion-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

4243
clean-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/*

Pipfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ black = "*"
1111
bumpversion = "*"
1212
pipenv-to-requirements = "*"
1313
wheel = "*"
14+
pytest = "*"
15+
codecov = "*"
16+
coveralls = "*"
1417

1518
[packages]
1619
boto3 = "==1.4.4"

Pipfile.lock

Lines changed: 102 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
from setuptools import Command
99
from setuptools import setup
1010

11-
REQUIREMENTS = [
12-
"boto3",
13-
"click",
14-
"PyYAML",
15-
]
1611
PACKAGE_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",

0 commit comments

Comments
 (0)