Skip to content

Commit

Permalink
Merge extra and main test envs, update tox command
Browse files Browse the repository at this point in the history
- coverage was not picking up by coveralls, because I removed the
  coverage package from deps while removing py27 config
- remove PYTHONHASHSEED variable, because it is not necessary in Python
  3
- remove extra env from travis config
  • Loading branch information
biozz committed Apr 4, 2020
1 parent 12ca560 commit 48dadba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
include:
- python: 3.8
env: TOX_ENV=py38
- python: 3.8
env: TOX_ENV=extra
- python: 3.7
env: TOX_ENV=py37
- python: 3.6
Expand Down
17 changes: 7 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
[tox]
envlist = py35,py36,py37,py38,extra,flake8,docs

[testenv:extra]
deps =
{[testenv]deps}
circus-web
gevent
papa
envlist = py35,py36,py37,py38,flake8,docs

[testenv]
passenv = PWD
deps =
nose
nose-cov
coverage
mock
circus-web
gevent
papa
PyYAML
tornado>=3.0,<5.0
pyzmq>=17.0

setenv =
TESTING=1
PYTHONHASHSEED=random
PYTHONUNBUFFERED=1

commands =
nosetests -vs circus/tests
nosetests -vs --with-coverage --cover-package=circus circus/tests


[testenv:docs]
Expand Down

0 comments on commit 48dadba

Please sign in to comment.