File: tox.ini

package info (click to toggle)
python-boto 2.49.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,888 kB
  • sloc: python: 86,396; makefile: 112
file content (37 lines) | stat: -rw-r--r-- 912 bytes parent folder | download | duplicates (6)
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
[tox]
envlist = py26,py27,py33,py34,pypy

# Comment to build sdist and install into virtualenv
# This is helpful to test installation but takes extra time
skipsdist = True

[testenv:py26]
# Python 2.6 requires two extra test dependencies
deps =
    unittest2
    ordereddict
    -rrequirements.txt
# Some tests expect specific ordering, so we set the hash
# seed for Python 2.x until all tests are updated for Python 3.
# Hash seed affects ordering of certain objects like dict keys
# Set it to a constant so that tests are consistent across
# runs and versions of Python.
setenv =
    PYTHONHASHSEED = 0

[testenv:py27]
deps =
    -rrequirements.txt
# See comment above in py26 about hash seed.
setenv =
    PYTHONHASHSEED = 0

[testenv:pypy]
# See comment above in py26 about hash seed.
setenv =
    PYTHONHASHSEED = 0

[testenv]
deps = -rrequirements.txt
commands =
    python tests/test.py {posargs:default}