forked from Kozea/WeasyPrint
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
23 lines (20 loc) · 799 Bytes
/
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
[tox]
envlist = py26-cairo-1.8.2, py26-cairo-1.10.0, py26, py27, py31, py32, py33, pypy
[testenv]
sitepackages=True
deps=pytest-cov
commands=py.test -s []
[testenv:py26-cairo-1.8.2]
; Building old cairo on an modern system might require setting
; "png_REQUIRES=libpng" as an environment variable for ./configure
basepython=python2.6
setenv=LD_LIBRARY_PATH=../cairo-1.8.2/lib
commands=
py.test -s []
python -c 'import cairocffi; version = cairocffi.cairo_version_string(); print "Cairo version", version; assert version == "1.8.2"'
[testenv:py26-cairo-1.10.0]
basepython=python2.6
setenv=LD_LIBRARY_PATH=../cairo-1.10.0/lib
commands=
py.test -s []
python -c 'import cairocffi; version = cairocffi.cairo_version_string(); print "Cairo version", version; assert version == "1.10.0"'