forked from googledatalab/pydatalab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (36 loc) · 1.23 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
[tox]
# By default, we want to run tests for Python 2.7, Python 3.5, and run our
# flake8 checks.
envlist = py27,py35,flake8,coveralls
# If an interpreter is missing locally, skip it.
skip_missing_interpreters = true
[testenv]
# pydatalab doesn't require users to have these dependencies installed, but we
# need them to run our tests suite.
#
# tox always installs the current package, so there's no need to list it here.
deps = tensorflow==1.0.0
# Note: protobuf 3.2.0 has the "python: double free or corruption" bug.
protobuf==3.1.0
# Dropping this seems to cause problems with conda in some cases.
scipy
solutionbox/structured_data/
solutionbox/image_classification/
commands =
python ./tests/main.py
python ./legacy_tests/main.py
[testenv:py27]
# google-cloud-dataflow only supports python2.7, so we add that here.
deps = {[testenv]deps}
google-cloud-dataflow==0.5.5
[testenv:flake8]
commands = flake8 --exclude=.tox,.git,./*.egg,build,.cache,env,__pycache__,docs
deps = flake8
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = {[testenv]deps}
google-cloud-dataflow==0.5.5
coveralls
commands =
coverage run tests/main.py
- coveralls --rcfile=.coveragerc