forked from iot-lab/ws-cli-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (31 loc) · 777 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
[tox]
envlist = copying,{py27,py35,py36,py37}-{lint,tests},cli
skip_missing_interpreters = True
[testenv]
whitelist_externals =
cli: {[testenv:cli]whitelist_externals}
deps=
-rtests_utils/test-requirements.txt
commands=
tests: {[testenv:tests]commands}
lint: {[testenv:lint]commands}
cli: {[testenv:cli]commands}
coverage: {[testenv:coverage]commands}
[testenv:tests]
commands=
pytest {posargs}
[testenv:lint]
commands=
python setup.py lint
flake8
[testenv:copying]
whitelist_externals = /bin/bash
commands=
bash tests_utils/check_license.sh
[testenv:cli]
whitelist_externals = /bin/bash
commands=
bash -exc "iotlab-ws --help > /dev/null"
[testenv:coverage]
passenv = CI TRAVIS TRAVIS_*
commands = codecov -e TOXENV