From a76a56e7396e2696bcb22551bd7f92755e7d0c02 Mon Sep 17 00:00:00 2001 From: Nick Timkovich Date: Wed, 1 Jun 2016 21:46:18 -0500 Subject: [PATCH] Compensate for no -I on <3.4 by just deleting the source dir for tests --- .travis.yml | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7776087..8ea3b31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index e9457b4..4ae3541 100644 --- a/Makefile +++ b/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