Skip to content

Commit

Permalink
Add missing test files to source dist manifest.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jul 16, 2018
1 parent f95ed8c commit 54aa573
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ install:
- pip install coveralls
- pip install -r requirements.txt
script:
coverage run --source=bincopy setup.py test
- coverage run --source=bincopy setup.py test
- make test-sdist
after_success:
coveralls
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include LICENSE
include Makefile
recursive-include tests *.py
recursive-include tests *.py *.hex *.bin *.s19 *.txt *.hexdump *.i
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
test:
python2 setup.py test
python3 setup.py test
$(MAKE) test-sdist
codespell -d $$(git ls-files | grep -v "\.bin")

test-sdist:
rm -rf dist
python setup.py sdist
cd dist && \
mkdir test && \
cd test && \
tar xf ../*.tar.gz && \
cd bincopy-* && \
python setup.py test

release-to-pypi:
python setup.py sdist
python setup.py bdist_wheel --universal
Expand Down

0 comments on commit 54aa573

Please sign in to comment.