Skip to content

Commit

Permalink
add extras require
Browse files Browse the repository at this point in the history
  • Loading branch information
santient committed Jul 27, 2018
1 parent 204afde commit a88f2a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,7 @@ language: python
python:
- "3.6"
install:
- pip install .
- pip install .[test]
script:
- pytest
after_success:
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Expand Up @@ -29,10 +29,11 @@
"scipy>=1.1",
"tensorflow>=1.8",
],
setup_requires=["pytest-runner"],
tests_require=[
"pytest>=3.6",
"pytest-cov>=2.0",
"codecov>=2.0"
extras_require=[
"test": [
"pytest>=3.6",
"pytest-cov>=2.0",
"codecov>=2.0"
]
]
)

0 comments on commit a88f2a8

Please sign in to comment.