Skip to content

Commit

Permalink
Fix tox and travisCI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Nov 14, 2015
1 parent e6f6bfb commit c05a5d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ python:
- 2.7
- 3.3
- 3.4
# - 3.5 (pylint currently fails with python 3.5)
- 3.5
- pypy
install:
- pip install -r requirements.txt
- pip install pytest>=2.7.3 --upgrade
- pip install pylint
- pip install coveralls
script:
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pylint rebulk; fi
- if [ $TRAVIS_PYTHON_VERSION != 2.6 ] && [ $TRAVIS_PYTHON_VERSION != 3.5 ]; then pylint rebulk; fi
- coverage run --source=rebulk setup.py test
- python setup.py build
after_success:
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest>=2.7.3
pytest-capturelog
zest.releaser[recommended]
pylint
tox
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ envlist = py26,py27,py33,py34,py35,pypy

[testenv:py26]
commands =
{envbindir}/pip install -r dev-requirements.txt
{envpython} setup.py test

[testenv:py35]
commands =
{envbindir}/pip install -r dev-requirements.txt
{envpython} setup.py test

[testenv]
commands =
{envbindir}/pip install pylint
{envbindir}/pip install -r dev-requirements.txt
{envbindir}/pylint rebulk
{envpython} setup.py test

Expand Down

0 comments on commit c05a5d5

Please sign in to comment.