-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtox.ini
58 lines (51 loc) · 980 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tox]
minversion = 3.3.0
envlist = mypy,lint,examples-py{27,35},test-py{27, 35},upload-coverage,license
[testenv]
commands =
/usr/bin/find . -name "*.pyc" -delete
python -c "from __future__ import print_function; import tensorflow as tf; print(tf.__version__)"
nosetests -vv
extras =
testing
luigi
[testenv:lint]
extras =
lint
commands =
flake8 spotify_tensorflow
flake8 examples
flake8 tests
[testenv:examples-py27]
extras =
examples
commands =
{toxinidir}/bin/run-examples
[testenv:examples-py35]
extras =
examples
commands =
{toxinidir}/bin/run-examples
[testenv:mypy]
basepython = python3.5
extras =
deps =
mypy
commands =
mypy spotify_tensorflow
mypy tests
[testenv:upload-coverage]
basepython = python2.7
extras =
deps =
codecov
setenv =
CODECOV_TOKEN = fdca8927-392d-4daa-b5ec-2de46127cf70
commands =
python -m codecov
[testenv:license]
basepython = python2.7
extras =
deps =
commands =
{toxinidir}/bin/verify-license-headers