Skip to content

Commit 5d18faf

Browse files
committed
Setup coveralls
1 parent 748fc6f commit 5d18faf

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ python:
77
install:
88
- pip install -r requirements.txt
99
- pip install -r test_requirements.txt
10-
script: nosetests
10+
- pip install coveralls
11+
script:
12+
coverage run --source=gogs_client setup.py test
13+
after_success:
14+
coveralls
1115
deploy:
1216
provider: pypi
1317
user: ethantkoenig

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
],
2828
keywords=["gogs", "http", "client"],
2929
packages=find_packages(),
30-
install_requires=["future", "requests"]
30+
install_requires=["future", "requests"],
31+
test_suite="tests"
3132
)

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)