-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
57 lines (49 loc) · 1.2 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
# -----------------------------------------------------------------------------
# Tox config file for smipyping
#
# Supported OS platforms:
# Linux
#
[tox]
minversion = 1.9
envlist = py27,py34,py35,py36,check
skip_missing_interpreters = true
skipsdist = true
[testenv]
skip_install = true
whitelist_externals =
tox
make
pip
python
sh
commands =
tox --version
python --version
pip list
make install
pip list
make develop
pip list
make build
make builddoc
make check
# TODO #103: Reactivate 'make test' for all platforms once smipyping runs on Windows
sh -c "export TESTCASES={posargs}; if [ \"$APPVEYOR\" != \"True\" ]; then make test; fi"
[testenv:check]
basepython = python2.7
whitelist_externals =
make
commands =
make -B clean check build builddoc
[testenv:py27]
basepython = python2.7
[testenv:py34]
basepython = python3.4
[testenv:py35]
basepython = python3.5
[testenv:py36]
basepython = python3.6
[testenv:pywin]
basepython = {env:PYTHON_HOME:}\python.exe
passenv = ProgramFiles APPVEYOR LOGNAME USER LNAME USERNAME HOME USERPROFILE OS PATH PYTHONPATH INCLUDE LIB PYTHON_ARCH PYTHON_HOME PYTHON_VERSION PACKAGE_LEVEL PYTHON_CMD PIP_CMD