Skip to content

Commit

Permalink
Use plain tox env
Browse files Browse the repository at this point in the history
  • Loading branch information
ninezerozeronine committed May 20, 2019
1 parent 0cf95a4 commit a1e114e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ install:
- pip install coveralls

script:
- tox -e travis
- tox
19 changes: 15 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ envlist = py27

[testenv]

deps =
pytest
coverage
coveralls

commands =
coverage run --source=eight_bit_computer -m pytest
coverage report
coveralls

passenv = TRAVIS TRAVIS_*

[testenv:test]
deps =
pytest
Expand All @@ -18,7 +30,9 @@ deps =

commands =
coverage erase
pytest --cov={envsitepackagesdir}/eight_bit_computer --cov-report=term --cov-report=html --basetemp={envtmpdir}
coverage run --source=eight_bit_computer -m pytest
coverage report
# pytest --cov={envsitepackagesdir}/eight_bit_computer --cov-report=term --cov-report=html --basetemp={envtmpdir}

[testenv:travis]
deps =
Expand All @@ -30,6 +44,3 @@ commands =
pytest --cov={envsitepackagesdir}/eight_bit_computer --cov-report=term --basetemp={envtmpdir}
coveralls

passenv =
TRAVIS
TRAVIS_*

0 comments on commit a1e114e

Please sign in to comment.