Skip to content

Commit

Permalink
Run tests for python 3.7 without extra dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
krkd committed Nov 2, 2018
1 parent 5942504 commit a356a28
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ matrix:
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=py37
env: TOXENV=py37-nodeps

addons:
apt:
Expand Down
12 changes: 11 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; https://github.com/Microsoft/LightGBM/tree/master/python-package#lightgbm-python-package.

[tox]
envlist = py27,py34,py35,py35-nodeps,mypy,py35-extra,py27-extra,py36,py36-extra,py36-legacy,py37
envlist = py27,py34,py35,py35-nodeps,mypy,py35-extra,py27-extra,py36,py36-extra,py36-legacy,py37-nodeps

[base]
deps=
Expand Down Expand Up @@ -94,3 +94,13 @@ deps=
changedir=docs/source
commands=
sphinx-build -W -b html . {envtmpdir}/html


[testenv:py37-nodeps]
deps=
{[base]deps}

commands=
; without lightning as it is optional
pip install -e .
bash _ci/runtests_nodeps.sh {posargs: eli5 tests}

0 comments on commit a356a28

Please sign in to comment.