forked from github/pelican
smartypants is now py3 compatible but the default settings for double quotes has been changed (http://pythonhosted.org/smartypants/changes.html). This commit: - update the typogrify test (change quotes, and add more test casesi: caps word, ellipsis) - install typogrify on travis - uses upstream version of smartypants in tox instead of dmdm's fork for py3
26 lines
435 B
INI
26 lines
435 B
INI
# This tests the unified codebase (py27, py33) of Pelican.
|
|
# depends on some external libraries that aren't released yet.
|
|
|
|
[tox]
|
|
envlist = py27,py33
|
|
|
|
[testenv]
|
|
commands =
|
|
python -m unittest discover
|
|
deps =
|
|
|
|
[testenv:py27]
|
|
deps =
|
|
mock
|
|
Markdown
|
|
BeautifulSoup4
|
|
typogrify
|
|
lxml
|
|
|
|
[testenv:py33]
|
|
deps =
|
|
mock
|
|
Markdown
|
|
BeautifulSoup4
|
|
git+https://github.com/dmdm/typogrify.git@py3k#egg=typogrify
|
|
lxml
|