Fixed pytest setup on travis

This commit is contained in:
Johannes Hoppe 2015-12-02 19:32:28 +01:00
parent 9ba75bb820
commit 7d8a7e7a9f
3 changed files with 1 additions and 3105 deletions

View File

@ -31,6 +31,6 @@ script:
- isort --check-only --recursive --diff .
- flake8 --jobs=2 .
- pep257 django_select2
- coverage run --source=django_select2 py.test
- coverage run --source=django_select2 -m py.test
after_success:
- coveralls

File diff suppressed because it is too large Load Diff

View File

@ -22,23 +22,6 @@ URL = "https://github.com/applegrew/django-select2"
VERSION = __import__(PACKAGE).__version__
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(
name=NAME,
version=VERSION,
@ -67,5 +50,4 @@ setup(
'django-appconf>=0.6.0',
],
zip_safe=False,
cmdclass={'test': PyTest},
)