Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Move explicit tensorflow dependency from CI config to tox config
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwigschubert committed Jul 13, 2018
1 parent c4bf34a commit 0b55f93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ python:
install:
- pip install -U pip wheel
- pip install python-coveralls
- pip install tensorflow
- pip install tox-travis
script:
- tox
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

extras = {
"test": test_deps,
"tf": ["tensorflow>=1.0.0"],
"tf_gpu": ["tensorflow-gpu>=1.0.0"],
"tf": ["tensorflow>=1.6.0"],
"tf_gpu": ["tensorflow-gpu>=1.6.0"],
}

setup(
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
envlist = py{27,36}

[testenv]
deps = .[test]
deps =
tensorflow
.[test]
commands = coverage run --source lucid -m py.test

[pytest]
Expand Down

0 comments on commit 0b55f93

Please sign in to comment.