Compensate for no -I on <3.4 by just deleting the source dir for tests
This commit is contained in:
parent
743f9e4221
commit
a76a56e739
2 changed files with 4 additions and 3 deletions
|
@ -11,5 +11,6 @@ python:
|
|||
before_install:
|
||||
- python setup.py bdist_wheel --include-test-subpackage
|
||||
- pip install dist/feedgen*
|
||||
- rm -rf feedgen
|
||||
|
||||
script: make test
|
||||
|
|
6
Makefile
6
Makefile
|
@ -48,7 +48,7 @@ publish_wheel: sdist
|
|||
python setup.py bdist_wheel upload
|
||||
|
||||
test:
|
||||
python -I -m unittest feedgen.tests.test_feed
|
||||
python -I -m unittest feedgen.tests.test_entry
|
||||
python -I -m unittest feedgen.tests.test_extension
|
||||
python -m unittest feedgen.tests.test_feed
|
||||
python -m unittest feedgen.tests.test_entry
|
||||
python -m unittest feedgen.tests.test_extension
|
||||
@rm -f tmp_Atomfeed.xml tmp_Rssfeed.xml
|
||||
|
|
Loading…
Reference in a new issue