Commit 205a4fa9 authored by juga's avatar juga
Browse files

Use install_command for all testenv, add unit env

While a process-dependency-links is needed, use it for all the
envs.
Add a unit env to run unit tests.
parent 01b447f0
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
[tox]
skip_missing_interpreters = True
envlist = clean, lint, py35, py36, integration, stats
envlist = clean, lint, py35, py36, unit, integration, stats

[travis]
python =
    3.5: lint, py35, integration
    3.5: lint, py35, unit, integration
    3.6: py36, integration

[testenv]
# install_command can be removed when --process-dependency-links is not
# needed anymore, and this section uncommented
install_command = pip install --process-dependency-links {opts} {packages}


[testenv:unit]
deps = .[test]
commands =
    coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest \