summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2019-04-15 08:26:36 +0200
committerChristian Heimes <christian@python.org>2019-04-15 08:57:31 +0200
commitefb01586d912f3fd7e16098c8768a147ce21bb96 (patch)
treedd1943b0bfcb1e0fd21ab3e9366d3a07b8b718c5 /Makefile
parent49fe241089cac233ea59dd3c2a056a4de7f51257 (diff)
downloaddefusedxml-git-efb01586d912f3fd7e16098c8768a147ce21bb96.tar.gz
Add codecov and badges
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 83e5dc8..2e7cd2d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
-PYTHON=python
+PYTHON=python3
SETUPFLAGS=
COMPILEFLAGS=
INSTALLFLAGS=
-PYTHONS=python2.6 python2.7 python3.1 python3.2 python3.3 python3.4
.PHONY: inplace all rebuild test_inplace test fulltests clean distclean
.PHONY: sdist install black
@@ -12,6 +11,7 @@ all: inplace black README.html README.md
README.md: README.txt CHANGES.txt
pandoc --from=rst --to=gfm README.txt > $@
pandoc --from=rst --to=gfm CHANGES.txt >> $@
+ sed -i ':a;N;$$!ba;s/\n\[!/[!/g' $@
README.html: README.txt CHANGES.txt void.css
@echo | cat README.txt - CHANGES.txt | \
@@ -31,20 +31,6 @@ test: test_inplace
black:
black $(CURDIR) || true
-fulltest:
- $(MAKE) clean
- @set -e; \
- for python in $(PYTHONS); do \
- if [ -z $$(which $$python) ]; then \
- echo "*** $$python not found ***\n"; \
- continue; \
- fi; \
- echo "*** $$python ***"; \
- $$python $(SETUPFLAGS) setup.py -q test; \
- echo ""; \
- done
- $(MAKE) clean
-
clean:
@find . \( -name '*.o' -or -name '*.so' -or -name '*.sl' -or \
-name '*.py[cod]' -or -name README.html \) \