forked from getpelican/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
75 lines (69 loc) · 1.53 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This tests the unified codebase (py26-py32) of Pelican.
# depends on some external libraries that aren't released yet.
#
# To run Pelican, you will already have checked out and installed them.
#
# Now we must tell tox about this package, otherwise tox would load the old
# libraries from PyPi.
#
# Run tox from the libraries source tree. It will save its package in
# the distshare directory from where the tests here will pick it up.
#
# Do that for
# https://github.com/dmdm/smartypants.git
#
# and typogrify:
# https://github.com/dmdm/typogrify/tree/py3k
#
# and webassets:
# https://github.com/dmdm/webassets/tree/py3k
#
#
# CAVEAT:
# -------
#
# 1/
# Please be aware that my ports of typogrify and webassets are just 2to3'd.
# They are not backwards compatible with Python 2.
#
# 2/
# Webassets still has unresolved issues, so I deactivated it for Py32 tests.
[tox]
envlist = py27,py32,py33
[testenv]
commands =
unit2 discover []
nosetests -s pelican
deps =
[testenv:py27]
deps =
nose
unittest2
mock
Markdown
BeautifulSoup4
feedgenerator
typogrify
webassets
[testenv:py32]
deps =
nose
unittest2py3k
mock
Markdown
BeautifulSoup4
feedgenerator
# {distshare}/smartypants-1.6.0.3.zip
# {distshare}/typogrify-2.0.0.zip
# {distshare}/webassets-0.8.dev.zip
[testenv:py33]
deps =
nose
unittest2py3k
mock
Markdown
BeautifulSoup4
feedgenerator
# {distshare}/smartypants-1.6.0.3.zip
# {distshare}/typogrify-2.0.0.zip
# {distshare}/webassets-0.8.dev.zip