Skip to content

Commit 3e0e2d4

Browse files
committed
setup.py: Add hook for tests.
1 parent ee45102 commit 3e0e2d4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ install:
8383
# install sphinx for building the html docs
8484
pip install sphinx
8585
else
86-
pip install .
86+
pip install .[test]
8787
fi
8888
8989
script: |

setup.py

+4
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@
3333
'python-magic',
3434
'configobj>=4.7.0',
3535
'pygpgme>=0.2'],
36+
tests_require=[
37+
'mock',
38+
],
3639
provides=['alot'],
40+
test_suite="tests",
3741
)

0 commit comments

Comments
 (0)