1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

Add tox for testing with different Python versions.

This commit is contained in:
William Ting
2014-06-28 16:57:00 -07:00
parent 3465bb1f84
commit 969fb4e6ed
6 changed files with 49 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ docs:
pandoc -s -w markdown docs/header.md docs/install.md docs/body.md -o README.md
lint:
@flake8 ./ --config=setup.cfg
@flake8 ./ --config=tox.ini
release: docs
# Check for tag existence
@@ -38,6 +38,6 @@ tar:
git archive --format=tar --prefix autojump_v$(VERSION)/ $(TAGNAME) | gzip > autojump_v$(VERSION).tar.gz
sha1sum autojump_v$(VERSION).tar.gz
test:
test: lint
@find . -type f -iname "*.pyc" -delete
py.test -rsxX -q
tox