diff --git a/.travis.yml b/.travis.yml index 71e608dc..b8acf996 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ language: python -python: - - 2.7 - - 3.4 - - pypy -script: ./run-tests.sh +install: + - pip install tox +script: + - tox +env: + - TOXENV=py27 + - TOXENV=py34 + - TOXENV=pypy + - TOXENV=packaging diff --git a/MANIFEST.in b/MANIFEST.in index 74aebb43..a3812518 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,10 @@ include README.md NOTICE.txt ChangeLog *.sh +include Makefile +include t +include tox.ini + +recursive-include docs *.py +recursive-include docs *.rst +recursive-include docs Makefile +recursive-include tests *.avro +recursive-include tests *.py diff --git a/tox.ini b/tox.ini index 31701262..c38d7afe 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,15 @@ [tox] -envlist = py27,py34,pypy +envlist = py27,py34,pypy,packaging [testenv] -deps = - nose +deps = + nose flake8 commands = ./run-tests.sh + +[testenv:packaging] +skip_install = true +deps = + check-manifest +commands = + check-manifest