forked from ome/omero-marshal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
30 lines (29 loc) · 1.41 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
[tox]
envlist = py36, py37, py38, py39
# https://tox.readthedocs.io/en/latest/config.html#conf-requires
# Ensure pip is new enough
requires = pip >= 19.0.0
virtualenv >= 16.0.0
[testenv]
# For environment markers see
# https://www.python.org/dev/peps/pep-0508/#environment-markers
deps =
flake8
omero-py
pytest-rerunfailures
pytest-xdist
restructuredtext-lint
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.1.0/zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.6"
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.1.0/zeroc_ice-3.6.5-cp37-cp37m-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.7"
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.1.0/zeroc_ice-3.6.5-cp38-cp38-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.8"
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.1.0/zeroc_ice-3.6.5-cp39-cp39-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.9"
commands =
rst-lint README.rst
flake8 .
python setup.py sdist install --record files.txt
python -c 'import omero.clients; import omero_marshal.encode'
pytest {posargs:-n4 -rf tests -s}
sh -c 'cat files.txt | xargs rm -rf'
python setup.py bdist_egg
sh -c 'easy_install dist/*.egg'
python -c 'import omero.clients; import omero_marshal.encode'