-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
39 lines (36 loc) · 911 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# A tox configuration file to test across multiple Python versions.
#
# http://pypi.python.org/pypi/tox
#
[tox]
envlist =
py27,
py27-no-source,
py27-no-distribute,
py32,
pypy
[testenv]
# Change the working directory so that we import the package from the
# virtualenv and not from its original location.
changedir =
{envbindir}
commands =
molt --run-tests --dev-source-dir {toxinidir}
# Check that things works without passing a source directory, which will
# be the default for end-users running Molt from an install..
[testenv:py27-no-source]
basepython =
python2.7
changedir =
{envbindir}
commands =
molt --run-tests
# Check that things work with setuptools instead of the default distribute
# in the virtual environment.
[testenv:py27-no-distribute]
changedir =
{envbindir}
commands =
molt --run-tests --dev-source-dir {toxinidir}
distribute =
False