Skip to content

Commit 4570592

Browse files
committed
Try to fix travis
1 parent cef6e2d commit 4570592

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ install:
1414
- pip install aioredis
1515
- pip install cryptography
1616
- pip install pynacl
17+
- pip install pytest
1718
- pip install pytest-aiohttp
19+
- pip install pytest-cov
1820
- python setup.py develop
1921

2022
script:
2123
- pyflakes aiohttp_session tests
2224
- pep8 aiohttp_session tests
23-
- coverage run --source=aiohttp_session setup.py test
25+
- make cov
2426
- python setup.py check -rm
2527
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
2628
python setup.py check -s;

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ vtest: flake develop
1111
py.test ./tests/
1212

1313
cov cover coverage: flake
14-
py.test --cov aiohttp_session --cov-report-type html ./tests/
14+
py.test --cov aiohttp_session --cov-report html ./tests/
1515
@echo "open file://`pwd`/coverage/index.html"
1616

1717
clean:

setup.py

-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def read(f):
1616
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
1717

1818
install_requires = ['aiohttp>=0.22.5']
19-
tests_require = install_requires + ['nose']
2019
extras_require = {
2120
'aioredis': ['aioredis>=0.1.4'],
2221
'pycrypto': ['cryptography'],
@@ -43,7 +42,5 @@ def read(f):
4342
license='Apache 2',
4443
packages=['aiohttp_session'],
4544
install_requires=install_requires,
46-
tests_require=tests_require,
47-
test_suite='nose.collector',
4845
include_package_data=True,
4946
extras_require=extras_require)

0 commit comments

Comments
 (0)