Skip to content

Commit

Permalink
moving tests into emcee package
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Sep 14, 2018
1 parent 8a473d5 commit e68ef34
Show file tree
Hide file tree
Showing 19 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Expand Up @@ -26,4 +26,4 @@ install:
build_script:
- ps: python setup.py install
test_script:
- ps: pytest -v
- ps: pytest -v emcee/tests
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -33,7 +33,7 @@ install:
- source .ci/travis.sh

script:
- py.test -v --cov emcee
- py.test -v emcee/tests --cov emcee

after_success:
- coveralls
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added emcee/tests/unit/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions setup.py
Expand Up @@ -6,7 +6,7 @@
from setuptools import setup

if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
os.system("python setup.py sdist; twine upload dist/*")
sys.exit()

# Hackishly inject a constant into builtins to enable importing of the
Expand All @@ -23,7 +23,11 @@
version=emcee.__version__,
author="Daniel Foreman-Mackey",
author_email="foreman.mackey@gmail.com",
packages=["emcee", "emcee.moves", "emcee.backends"],
packages=[
"emcee",
"emcee.moves", "emcee.backends",
"emcee.tests", "emcee.tests.unit", "emcee.tests.integration",
],
url="http://emcee.readthedocs.io",
license="MIT",
description=("The Python ensemble sampling toolkit for affine-invariant "
Expand Down

0 comments on commit e68ef34

Please sign in to comment.