travis uses tox
This commit is contained in:
15
.travis.yml
15
.travis.yml
@@ -1,12 +1,9 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
python: 2.7
|
||||||
- "2.7"
|
env:
|
||||||
- "3.3"
|
- TOX_ENV=py27
|
||||||
|
- TOX_ENV=py33
|
||||||
install:
|
install:
|
||||||
- pip install --use-mirrors flake8 mock
|
- pip install tox
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install --use-mirrors unittest2py3k; fi
|
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors unittest2; fi
|
|
||||||
- pip install -e .
|
|
||||||
script:
|
script:
|
||||||
- unit2 discover mailbot.tests
|
- tox -e $TOX_ENV
|
||||||
- flake8 mailbot
|
|
||||||
|
|||||||
Reference in New Issue
Block a user