File: tox.ini

package info (click to toggle)
python-msgpack 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: python: 2,187; ansic: 1,660; makefile: 183; sh: 43
file content (42 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (2)
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
[tox]
envlist =
    py27-pure,
    {py35,py36,py37,py38}-{c,pure},
    {pypy,pypy3}-pure,
    py27-x86,
    py34-x86,
isolated_build = true

[testenv]
deps=
    pytest

changedir=test
commands=
    c,x86: python -c 'from msgpack import _cmsgpack'
    c,x86: py.test
    pure: py.test
setenv=
    pure: MSGPACK_PUREPYTHON=x

[testenv:py27-x86]
basepython=python2.7-x86
deps=
    pytest

changedir=test
commands=
    python -c 'import sys; print(hex(sys.maxsize))'
    python -c 'from msgpack import _cmsgpack'
    py.test

[testenv:py34-x86]
basepython=python3.4-x86
deps=
    pytest

changedir=test
commands=
    python -c 'import sys; print(hex(sys.maxsize))'
    python -c 'from msgpack import _cmsgpack'
    py.test