Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Adding test requires #16

Merged
merged 1 commit into from
Mar 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: python

branches:
only:
- master

os:
- linux

Expand All @@ -18,10 +22,12 @@ addons:

install:
- pip install --upgrade pip
- pip install coveralls pytest pytest-cov
- pip install --upgrade pytest
- pip install coveralls pytest-cov

before_script:
pip install -e .

script:
pytest --cov=numpythia tests/

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@ def finalize_options(self):
'Development Status :: 4 - Beta',
],
install_requires=['numpy', 'six'],
tests_require=['pytest'],
zip_safe=False,
)