Skip to content

Commit 096b2c6

Browse files
committed
Revert Travis settings
1 parent 7cd8198 commit 096b2c6

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ python:
99
install:
1010
- python setup.py install
1111
script:
12-
- python -m pytest tests/
12+
- python setup.py test

setup.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
with open("README.md", "r") as fh:
1111
long_description = fh.read()
1212

13+
test_dependencies = [
14+
"pytest>=5,<6",
15+
"pytest-asyncio<1",
16+
]
17+
1318
setuptools.setup(
1419
name="slack_bolt",
1520
version=__version__,
@@ -23,15 +28,17 @@
2328
package_dir={"": "src"},
2429
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
2530
setup_requires=["pytest-runner==5.2"],
26-
tests_require=[
27-
"pytest>=5,<6",
28-
"pytest-asyncio<1",
29-
],
31+
# python setup.py test
32+
tests_require=test_dependencies,
3033
install_requires=[
3134
"slackclient>=2,<3", # TODO: will be replaced with slack_sdk==3.0.0
3235
"aiohttp>=3,<4", # slackclient depends on aiohttp
3336
],
3437
extras_require={
38+
# pip install -e ".[testing]"
39+
# python -m pytest tests/scenario_tests/test_async_events.py
40+
"testing": test_dependencies,
41+
# pip install -e ".[adapters]"
3542
"adapters": [
3643
# used only under src/slack_bolt/adapter
3744
"Django>=3,<4",

0 commit comments

Comments
 (0)