Skip to content

Commit

Permalink
Travis test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagofigueiro committed Dec 23, 2018
1 parent d9c5e65 commit 56fccea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,8 @@ python:
- 3.6
- '3.7-dev'
- "pypy"
install:
- pip install .[test]
script:
- python setup.py test
after_success:
Expand Down
28 changes: 14 additions & 14 deletions setup.py
Expand Up @@ -8,7 +8,14 @@
here = os.path.abspath(os.path.dirname(__file__))
README = io.open(os.path.join(here, 'README.rst'), encoding="utf8").read()

version = '0.3.1-dev'
version = '0.3.1'

tests_require = [
'pytest',
'pytest-cov',
'pytest-flakes',
'pytest-pep8',
]

# this module can be zip-safe if the zipimporter implements iter_modules or if
# pkgutil.iter_importer_modules has registered a dispatch for the zipimporter.
Expand All @@ -27,7 +34,7 @@
long_description=README,
classifiers=[
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
Expand All @@ -38,6 +45,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
Expand All @@ -54,16 +62,8 @@
platforms=['any'],
test_suite='pytest',
zip_safe=zip_safe,
setup_requires=[
'pytest-runner'
],
tests_require=[
'pytest',
'pytest-cov',
'pytest-flakes',
'pytest-pep8',
],
install_requires=[
'faker',
],
setup_requires=['pytest-runner'],
tests_require=tests_require,
install_requires=['faker'],
extras_require={'test': tests_require},
)

0 comments on commit 56fccea

Please sign in to comment.